Posted  by 

Ssh For Mac

Ssh For Mac Average ratng: 7,4/10 1644 votes

SSH for Mac free download. Pgweb Pgweb is a web-based, cross-platform PostgreSQL database browser written in Go. Go was used in backe. SSH for Mac free download. Pgweb Pgweb is a web-based, cross-platform PostgreSQL database browser written in Go. Go was used in backe.

  1. Putty For Mac
  2. How To Enable Ssh For Mac
  3. Putty Ssh For Mac

PuTTY for Mac is a port of the Windows version of PuTTY. However, there are many options for SSH clients for Mac, and this page discusses several of them.

  • Using the built-in SSH client in Mac OS X
  • Ported PuTTY for Mac

Using the built-in SSH client in Mac OS X

Mac OS X includes a command-line SSH client as part of the operating system. To use it, goto Finder, and selext Go -> Utilities from the top menu. Then look for Terminal. Terminal can be used to get a local terminal window, and also supports SSH connections to remote servers.

Running SSH from the terminal command line

Once you have the terminal window open, you have two alternatives. The first approach is to type ssh hostname or ssh user@hostname into the terminal window. This is more familiar for Linux and Unix users who are used to using a command line.

Running SSH with a graphical user interface

The second option is to select New Remote Connection.. from the Shell menu of Terminal. This opens a graphical dialog asking for the host to connect to and the user name. This also allows saving connections. This is recommended for users who are not accustomed to using a command line.

How to use PuTTY SSH keys with the built-in OpenSSH

If you have a PuTTY .ppk format private key and want to use it with the built-in OpenSSH on Mac on the command line or in scripts, you can use the following commands.

First, install PuTTY for Mac using brew install putty or port install putty (see below). This will also install the command-line version of puttygen, the PuTTY key generator tool.

Then, use the following command to convert the .ppk format private key to a standard PEM format private key:

Make sure permissions on the private key file are set properly. It should only be readable by the user that owns it.

You can now use the key for logins from scripts and command line with:

Ported PuTTY for Mac

There is a port of PuTTY for Mac. It can be installed in several ways.

Installation using HomeBrew

If you already have the brew command installed, the best way to install PuTTY is to use the following command:

Installation using MacPorts

PuTTY is readily available via MacPorts. To see how to install MacPorts and PuTTY, see here.

Once you have MacPorts installed, you just need to give this command:

and to add a shortcut on the Desktop,

Alternatives to PuTTY on the Mac

A lot of people use Cyberduck on Mac. It is a solid, well-known SSH client that is quite popular.

Table of contents

  1. Copying your key to a server
    1. From UT VPN, UT wireless, or CS network
Ssh for mac key

For instructions on adding SSH keys for other platforms, visit this FAQ.

Introduction

As of April 12, 2019, SSH keys are required when SSHing to CS/CSRES networks when outside of our networks, campus wireless, or the VPN. The University ISO will quarantine any host allowing SSH access that has not disabled password authentication.

An SSH key pair consists of two keys: One public key and one private key. The public key, as the name suggests, is public and can be safely shared with the world. The private key should never be shared with anyone and should be kept safe.

In order to use SSH keys to connect to a remote computer, one must first create an SSH key pair on one's computer, then copy the public SSH key to the remote computer. You will create an SSH key pair on each computer that you want to SSH from. You can use the same public SSH key from one computer to connect to many others.

E.g., if you have two computers at home, home1 and home2, and want to use them to connect to remote1, remote2, and remote3 you would create an SSH key pair on both home1 and home2, and then send the public key from home1 to all three remote computers, and lastly you would send the public key from home2 to all three remote computers.

Putty For Mac

Below are the necessary instructions to create an SSH key pair and add your public key to your CS account. Adding your public SSH key to linux.cs.utexas.edu will automatically add it to all other machines on the CS network. For the purposes of these instructions, we will assume that you want to SSH into a CS machine from a computer at home. To avoid confusion, we will use the following terminology:

HOME = Your home computer
CS_USER = Your CS username
linux.cs.utexas.edu = The machine that you need to SSH into and add an SSH key to.

NOTE: All commands will be run on HOME.

Creating a key

To create a 4096-bit RSA key, run the following:

Sep 24, 2018  Today, we are announcing the general availability of Office 2019 for Windows and Mac. Office 2019 is the next on-premises version of Word, Excel, PowerPoint, Outlook, Project, Visio, Access, and Publisher. Office 365 ProPlus, the cloud-connected version of Office. Get microsoft office for macbook air. Choose your Office Office – even better with an Office 365 subscription. Get Office apps on your PC or Mac, an optimized experience across tablets and phones, 1 TB of OneDrive cloud storage, and more, so you have the power and flexibility to get things done from virtually anywhere. Office for Mac with Office 365, gives you power and flexibility to get things done virtually from anywhere. Find the right Office for you.

  1. ssh-keygen -t rsa -b 4096
  2. Press Enter to use the default location. (Recommended) 1
  3. Enter a passphrase (ALWAYS use a passphrase!!) 23
  4. Enter your passphrase a second time.

It should look something like this:

Your public SSH key is located by default at ~/.ssh/id_rsa.pub and is perfectly safe to be shared with anyone.

Your private SSH key will be located by default at ~/.ssh/id_rsa. You should NOT touch this file or share it with anyone.

Copying your key to a server

From UT VPN, UT wireless, or CS network

Amazon video for mac. If you are connected to UT VPN, or have brought your machine on campus and have connected to UT wireless or the CS network, then you can use one of the methods below. If for any reason the ssh-copy-id method does not work, you can still copy your public SSH key manually using the second method.

You can find more information on how to connect to UT VPN by visiting this page.

Using ssh-copy-id

To copy your SSH public key from HOME to linux.cs.utexas.edu, simply replace the ssh in a normal SSH command with ssh-copy-id, as shown below:

  1. ssh-copy-id CS_USER@linux.cs.utexas.edu
  2. If you see the text 'Are you sure you want to continue connecting (yes/no)?' type yes and press Enter.
  3. Enter CS_USER's password to send your public key to the server.

It should look something like this:

Congratulations! You can now use your SSH key to log into any CS machine that you have access to!

Using the manual method

If for any reason the ssh-copy-id method does not work, you can still copy your public SSH key manually.

  1. cat ~/.ssh/id_rsa.pub ssh CS_USER@linux.cs.utexas.edu 'umask 0077 && mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys'
  2. If you see the text 'Are you sure you want to continue connecting (yes/no)?' type yes and press Enter.
  3. Enter CS_USER's password to send your public key to the server.

From off-campus

Copy to a USB drive

If you are unable to connect to UT VPN or cannot bring your machine to campus, then copying your public SSH key to a USB drive is another solution.

On your home computer:

  1. Plug in a USB drive.
  2. If it does not auto-mount, open a file manager and open the USB device to view its contents.
  3. In a terminal, run df -hT to find the full path to your mounted USB drive. (Your USB's mountpoint path will likely start with /media/yourusername)
  4. cp ~/.ssh/id_rsa.pub /media/yourusername/directory/ (Replace the second path with your real USB drive's mount point path)
  5. Safely unmount/eject your USB drive and bring it to campus.

From here, you will want to log into a CS lab machine and do:

  1. Plug in the USB drive
  2. If it does not auto-mount, open a file manager and open the USB device to view its contents.
  3. In a terminal, run df -hT to find the full path to your mounted USB drive.
  4. cat /media/yourusername/directory/id_rsa.pub >> ~/.ssh/authorized_keys (Replace the second path with your real USB drive's mount point path)
  5. chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys
  6. If step #5's command gives any errors, please submit a helpreq.
  7. Safely unmount/eject your USB drive.

Using ssh-agent (optional)

ssh-agent is a program included in OpenSSH that will remember your SSH key and not require you to type its passphrase each time you use SSH. Your desktop environment on HOME should start up ssh-agent when you log in.

  1. To add your SSH key to the agent, simply type:
    ssh-add

  2. Type in your SSH key's passphrase and you're good to go!

You won't need to type in your passphrase any longer. Once you log out ssh-agent will be killed and you will need to repeat the above process the next time you log in.

How To Enable Ssh For Mac

Additional information

Putty Ssh For Mac

  1. If you choose to not use the recommended location for your private key, you will need to specify its location in either your ssh command (with -i) or after your ssh-add command if using ssh-agent.↩

  2. This is not your CS_USER's password. The passphrase that you choose for your SSH key should be different from your CS_USER's password. See Selecting a strong password to learn how to choose a secure passphrase instead of a password.↩

  3. When typing your passphrase, you won't see any output on your screen. This is normal and is for your security.↩