2

I ssh to a remote server from command line using key to not enter password at any time want to connect. I need to transfer some files to the server using gFTP software.

Is it possible to use ssh key to connect to a remote server via gFTP in Ubuntu?

Thank you.

Zanna
  • 69,223
  • 56
  • 216
  • 327
hd.
  • 3,767
  • 5
  • 18
  • 10
  • 3
    Possible duplicate of [Filezilla or WinSCP alternative for Ubuntu](https://askubuntu.com/questions/987769/filezilla-or-winscp-alternative-for-ubuntu) – pa4080 Dec 21 '17 at 08:49

1 Answers1

2

Here are the steps how to setup gFTP to use SSH keys:

  1. In the FTP menu click on Preferences;

  2. Go to SSH tab;

  3. Fill the field SSH Extra Params with this value:

    -o IdentityFile=/home/<your user>/.ssh/id_rsa
    

    Change <user name> with your real username. Or use:

    -o IdentityFile=~/.ssh/id_rsa
    
  4. In gFTP's main window choice SSH2 as type of the connection;

  5. Enter the target Host name, or IP address;

  6. Setup the SSH Port of the target machine (if it's not the default - 22);

  7. Enter User for the SSH connection;

  8. Enter your SSH key's Passphrase (if there is some);

  9. Hit Enter.

enter image description here

enter image description here

pa4080
  • 29,351
  • 10
  • 85
  • 161