Putty for SSH Connection for Mac

Hi,
I use a mac and trying to learn working on servers.
I am trying to find an alternative of the Putty (in windows) for Mac please so I can connect to a server and import the key files like you can in windows.
Mac Terminal looks like a good option but cannot import file.

Comments

  • +7

    Terminal.app is an application for interfacing with a shell.
    ssh is an application that you can run and configure using a shell. it can be used as a client for connecting to ssh servers
    ssh is installed by default on macos.
    if you require a GUI for ssh, i recommend iTerm2:
    https://iterm2.com/

    if you just want to install ssh keys, then copy them to this directory(nb. it is hidden):
    ~/.ssh

    • +1

      +1 on iterm2. I have it open all the time, multiple tabs.

  • I always liked Cyber Duck to FTP into a server.

    • Yeah trying to use that but for connecting to AWS server with PPK key

  • +2

    nilobject already gave good advice, and if I can add to that….Personally, I have always found terminal to be easier to understand and use
    If you're stuck try googling the problem and phrasing it in different ways; something like this might help: https://www.mrtechnique.com/how-to-set-up-ssh-keys-on-a-mac/

  • +3

    Mac Terminal looks like a good option but cannot import file

    Are you referring to the config file and SSH keys?
    You have to re-do the config file manually. OpenSSH config file has a very simple format and is easy to write by hand.
    For the SSH keys you have to convert from the PPK format to PEM (OpenSSH) format. Putty can do that.

    • I have worked out how to convert to PEM now finally. Now I have to work out how to connect using terminal to AWS server with PEM key. Would you know how please?

  • +3

    Move ssh key to .ssh/id_rsa and id_rsa.pub, ssh username@server.

    • How do I do that on mac please ?

      • mv id_rsa .ssh/id_rsa
        mv id_rsa.pub .ssh/id_rsa.pub

        ssh username@server

  • +2
  • +1

    iterm or secureCRT

  • +1

    Mac has a built in SSH client on the terminal. just start terminal and run ssh . You will need to regenerate your keys, or convert the Putty key files to ssh format using puttygen

Login or Join to leave a comment