mellon85 / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

non-default port numbers when using :SSH service option and noVisualHostKey error #107

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
i like the 'SSH' service option for shellinaboxd, but i ran into two problems 
when trying to use it

1. need to use non default port number 
since the -s option supports SSH:server, i extended this on my local copy to 
support SSH:server:port (port being optional). this will cause the ssh service 
to run with a -p flag. otherwise, port 22 is used as normal.

2. noVisualHostKey is not supported
on multiple boxes i tested, the noVisualHostKey was not recognized and threw 
out errors when trying to use the SSH service. i had to comment this flag out 
in order to get it to work with any of the servers i shell into

all the changes i've made to support the above two issues are in service.c, i 
have it attached below if you think this would be helpful to others.

Original issue reported on code.google.com by ele...@gmail.com on 3 Jan 2011 at 1:40

Attachments:

GoogleCodeExporter commented 8 years ago
This is exactly what I was looking for. I've tested this and this suggested 
change works as advertised. Please consider adding this as a feature. 

Original comment by ascot...@gmail.com on 11 Apr 2011 at 10:18

GoogleCodeExporter commented 8 years ago
Please provide a patch intead of individual files.

BTW, the noVisualHostKey change has been made for 2.11.

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 10:19