RemoteShell with key file?
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    Hi all,

    Is it possible to use a keyfile within RemoteShell? I can run "ssh -i path/to/keyfile server" and it works but the RemoteShell with its sshcon would be better. Thx!
  • »06.03.14 - 14:34
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3088 from 2003/3/5
    From: Canada
    Quote:

    ciVic wrote:
    Hi all,

    Is it possible to use a keyfile within RemoteShell? I can run "ssh -i path/to/keyfile server" and it works but the RemoteShell with its sshcon would be better. Thx!


    There are two ways to do this, actually. First is to move your key into SYS:Applications/RemoteShell/Files/Conf. The other is to install the SDK, setup your HOME: dir and put these files into HOME:.ssh like you would do on linux and uncheck the "Use builtin OpenSSH" box in RS.

    You can also just add the -i param into the Login field in the SSHCON gui - since that's added to the ssh launch command line, it'll work just fine.
  • »06.03.14 - 16:27
    Profile Visit Website
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    I tried the first option but what should be the filename for the conf dir?
  • »06.03.14 - 18:45
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3088 from 2003/3/5
    From: Canada
    Quote:

    ciVic wrote:
    I tried the first option but what should be the filename for the conf dir?


    That'd be like regular .ssh dir contents, so id_rsa & id_rsa.pub
  • »06.03.14 - 19:12
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    See this thread.
  • »21.03.14 - 09:51
    Profile Visit Website
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    Thx all, the id_rsa file works!
  • »21.03.14 - 21:17
    Profile