Start a new topic

Terminal SSH Options

 Is it possible to have more configuration over the Terminal options in Royal?  I ask because I want to allow a newer option for StrictHostKeyChecking, but can't seem to find a way to disable some of the current options and adding in custom options?


OpenSSH 7.6 has introduced new StrictHostKeyChecking=accept-new

I have an option to Enable SSH Host Key Mismatch Warning.  When this option isi disabled (unchecked), the Terminal options set StrictHostKeyChecking=ask.  When it is enabled (checked), it sets the StrictHostKeyChecking=no and UserKnownHostsFile=/dev/null options. 


Sample process output with Enable SSH Host Key Mismatch Warning disabled (unchecked).

 

jlindquist       66968   0.0  0.0 408666736   5120 s006  S+   10:52AM   0:00.01 ssh -o NoHostAuthenticationForLocalhost=yes -o StrictHostKey
Checking=ask -o ServerAliveInterval=60 jlindquist@server.example.com -p 22


jlindquist       66967   0.0  0.0 408497264   2496 s006  Ss+  10:52AM   0:00.01 /Users/jlindquist/Library/Application Support/Royal TSX/Plugins/Installed/7c84a650-9896-11e1-a8b0-0800200c9a66.plugin/Contents/Frameworks/lmterminal -terminaltype ssh -uselmtelnet yes -sshpath ssh -telnetpath /Users/jlindquist/Library/Application Support/Royal TSX/Plugins/Installed/7c84a650-9896-11e1-a8b0-0800200c9a66.plugin/Contents/Frameworks/lmtelnet -screenpath screen -hostname server.example.com -port 22 -username jlindquist -sshadditionalargs -o NoHostAuthenticationForLocalhost=yes -o StrictHostKeyChecking=ask -o ServerAliveInterval=60

 

Sample process output with Enable SSH Host Key Mismatch Warning enabled (checked).


Ideally, I would love to have more flexibility when possible to remove or add options in order to customize the Terminal sessions such as maintaining a known hosts file and warning on host key mismatches, and auto accepting new keys if possible.


Thanks for your time!

JP


1 person has this question
Login or Signup to post a comment