My web site hosting company have just changed from Telnet to SSH.
I am unable to establish a connection and I'm not sure quite what I'm supposed to do at my end.
I'm running Debian Potato and have installed SSH. Do I need to do anything else in order to use it? I have looked at the man page but, as always, I don't understand it.
SSH appears to connect to the host but exits with 'secure connection refused'.
Any help gratefully received.
Barry Samuels
is the ssh daemon (sshd) running or installed ?
-----Original Message----- From: main-admin@lists.alug.org.uk [mailto:main-admin@lists.alug.org.uk]On Behalf Of bsamuels@beenthere-donethat.org.uk Sent: Wednesday, November 21, 2001 03:15 To: main@lists.alug.org.uk Subject: [Alug] Can anyone help me with SSH please?
My web site hosting company have just changed from Telnet to SSH.
I am unable to establish a connection and I'm not sure quite what I'm supposed to do at my end.
I'm running Debian Potato and have installed SSH. Do I need to do anything else in order to use it? I have looked at the man page but, as always, I don't understand it.
SSH appears to connect to the host but exits with 'secure connection refused'.
Any help gratefully received.
Barry Samuels
_______________________________________________ main@lists.alug.org.uk http://www.anglian.lug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
On Wed, Nov 21, 2001 at 03:15:20PM +0000, bsamuels@beenthere-donethat.org.uk wrote:
My web site hosting company have just changed from Telnet to SSH.
I am unable to establish a connection and I'm not sure quite what I'm supposed to do at my end.
I'm running Debian Potato and have installed SSH. Do I need to do anything else in order to use it? I have looked at the man page but, as always, I don't understand it.
SSH appears to connect to the host but exits with 'secure connection refused'.
This message usually means that they haven't actually got ssh turned on.
Try:
telnet your.hosting.address.com 22
If it fails to connect, then ssh isn't running on the host.
If it connects, then you have a ssh problem.
try running:
ssh -v your.hosting.address.com
which should give you a debugging dump.
Setting up ssh to give secure connections without needing to enter a password is very easy, but *absurdly* poorly documented, even in the SSH O'reilly book. Let me know if you need any more help - I've spent many frustrating hours battling with this program!
Barry,
how are you using ssh?
You need to type ssh -l <username> <host you want to connect to>
hopefully you will then get a message asking you if you are sure you want to this particular host to be added to your known_hosts file just type yes. You should now have shell access.
Aaron
On Wednesday 21 November 2001 15:15, you wrote:
My web site hosting company have just changed from Telnet to SSH.
I am unable to establish a connection and I'm not sure quite what I'm supposed to do at my end.
I'm running Debian Potato and have installed SSH. Do I need to do anything else in order to use it? I have looked at the man page but, as always, I don't understand it.
SSH appears to connect to the host but exits with 'secure connection refused'.
Any help gratefully received.
Barry Samuels
main@lists.alug.org.uk http://www.anglian.lug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
On Wed, 21 Nov 2001 15:15:20 bsamuels@beenthere-donethat.org.uk wrote:
SSH appears to connect to the host but exits with 'secure connection refused'.
Which version of ssh are you using? There is the free one, openssh and the non-free one.
Looking at the code for openssh there isn't a message that exactly matches - the closest is Secure connection to <host> on port <port> refused, i.e. a similar messages but with the details filled in. In the case of openssh this is the message you get when either:
* The remote end (the web host) isn't listening on the ssh port (because sshd has died or was never started). * The remote host is not accessible so there is a timeout trying to set up the TCP connection.
So both of these happen before any attempt is made to authenicate. You need to get your web hosting company to confirm which port their sshd is listening on and whether it is up!
Steve.
Hi, I use SSH all of the time, there are issues with versions for starters.. Make sure your SSH client version matches that of the ISP. Are they/you using the commercial version of SSH or openSSH ? they theoretically should work together but I have never been able to make them. Then there is the issue of supported cyphers.
if you start up your connection with the -v option (I think it is this for verbose - search the man page for 'debug') you will get a reasonably ugly dump of the conversation between the 2 machines.
my command line as a rule is something like (sorry can't get to the machine right now) ssh -lmyusername -v <IPAddr/HostName>(Hostname must be in the hosts file i think - I always use IP Address) If you can find the debug option send me a dump of the output if you're still stumped. Meanwhile I'll try and get you the links to the good docs for it (yes there are some ... how do you think I set mine up - not by reading the man page, I suffer from man-blindness (the affliction which prevents information that is staring at you from the man output from entering the retina, travelling down the optical nerve and making contact with the brain).. ;o)
Cheers Earl
[earl.brannigan@lindenhouse.co.uk] www.lindenhouse.co.uk Intellectual : Someone who can spend a whole day locked in a room with a tea cosy without once thinking of trying it on. Highbrow : Someone who can listen to the entire William Tell Overture without once thinking of the Lone Ranger.
-----Original Message----- From: main-admin@lists.alug.org.uk [mailto:main-admin@lists.alug.org.uk]On Behalf Of bsamuels@beenthere-donethat.org.uk Sent: Wednesday 21 November 2001 15:15 To: main@lists.alug.org.uk Subject: [Alug] Can anyone help me with SSH please?
My web site hosting company have just changed from Telnet to SSH.
I am unable to establish a connection and I'm not sure quite what I'm supposed to do at my end.
I'm running Debian Potato and have installed SSH. Do I need to do anything else in order to use it? I have looked at the man page but, as always, I don't understand it.
SSH appears to connect to the host but exits with 'secure connection refused'.
Any help gratefully received.
Barry Samuels
main@lists.alug.org.uk http://www.anglian.lug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!