

Then, use the following command to convert the. This will also install the command-line version of puttygen, the PuTTY key generator tool. 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.įirst, install PuTTY for Mac using brew install putty or port install putty (see below). How to use PuTTY SSH keys with the built-in OpenSSH This is recommended for users who are not accustomed to using a command line. This opens a graphical dialog asking for the host to connect to and the user name. The second option is to select New Remote Connection. Running SSH with a graphical user interface This is more familiar for Linux and Unix users who are used to using a command line.

The first approach is to type ssh hostname or ssh into the terminal window. Once you have the terminal window open, you have two alternatives. Running SSH from the terminal command line Terminal can be used to get a local terminal window, and also supports SSH connections to remote servers.

To use it, goto Finder, and selext Go -> Utilities from the top menu. Mac OS X includes a command-line SSH client as part of the operating system. You are now disconnected from the remote server.Contents Using the built-in SSH client in Mac OS X Running SSH from the terminal command line Running SSH with a graphical user interface How to use PuTTY SSH keys with the built-in OpenSSH Ported PuTTY for Mac Installation using HomeBrew Installation using MacPorts Alternatives to PuTTY on the Mac Using the built-in SSH client in Mac OS X This will disconnect you from the remote server and return you to your local machine's command line.ħ. To disconnect from the server and close the SSH connection, simply type "exit" and press the Enter key. These commands are all available on NJIT's AFS servers.Ħ. For a list of common UNIX commands and their meanings, click here. Depending on the server's operating system, you should be able to run most common UNIX commands. You are now connected to the remote server. If you have forgotten your password, click here to reset it.ĥ. Your computer is warning you that this is the first time you are connecting to this server.Īlways be aware of what servers you are connecting to.Ĥ.

If you see the following message, just type "yes" to continue. Note: For connecting to NJIT's AFS servers, USERNAME is your your UCID and SERVERADDESS is where XX is any number between 1 and 36.ģ. Run the ssh command, using the -l flag to specify a different username. Navigate to the Utilities folder within the Applications folder on your startup drive, and double-click on the Terminal application.Ģ.
