You are not logged in.
Recently, ssh stopped working for me as a non-root user. It reports:
ssh 192.168.0.1
File "/usr/bin/hotssh", line 36
print "Detected COPYING; Apparently running uninstalled, extending path"
^
SyntaxError: invalid syntax
Yet, logged in as root gives the following (expected) result:
ssh 192.168.0.1
ssh: connect to host 192.168.0.1 port 22: Connection refused
I've removed the user's ~/.ssh directory and reinstalled openssh to no avail.
Any ideas?
Last edited by Cotton (2011-02-12 18:06:14)
Offline
Maybe try to reinstall hotssh? Was it upgraded recently?
Could you also please change ssh to hotssh in your topic title?
ᶘ ᵒᴥᵒᶅ
Offline
You have to rebuild your hotssh package to use /usr/bin/python2 instead of /usr/bin/python.
Steven [ web : git ]
GPG: 327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com
Offline
I've removed hotssh (which I didn't realise was a separate package to openssh) and ssh works as expected in an alternative virtual terminal.
Using ssh 192.168.0.1, the current console reports:
-bash: hotssh: command not found
ie it thinks /usr/bin/hotssh still exists - just remind me how to reset a console environment without having to logout. I thought "source /etc/profile" was supposed to do the trick, but it didn't work in this case.
Thanks for the help guys.
Offline