How to use certificate file for SSH/SFTP connection?

How to use certificate file for SSH/SFTP connection?

2
NewbieNewbie
2

    Mar 13, 2017#1

    Hello,

    I'm trying to set up a SFTP connection in UEX 16.1.0.18 and on Ubuntu 16.04. This works from the command line. But I don't know how to configure it in UE.

    From the command line I normally enter: sftp hostname

    In my .ssh directory is a configuration file with the following lines:

    Code: Select all

    Host hostname
        User myusername
        HostName remotehostname
        IdentityFile ~/.ssh/cert.pem
    This is basically a shortcut for typing sftp -i ~/.ssh/cert.pem myusername@remotehostname from the command line.

    Any idea on how to set this up in the UE SFTP connections?

    Thanks,
    jjd

      Mar 15, 2017#2

      Figured it out.

      In the SSH settings, choose option for Public/Private Key Only.
      Put path to certificate file in Private Key Path.
      Leave Public Key Path empty.

      Regards,
      jjd