Troubles connecting with ssh

Asked by Miles Hamilton

Hi, I'm new to Ubuntu, just started using it a few days ago and have really enjoyed it thus far. One issue I am running into is when I try to ssh to another device that I own it disconnects. I am using the right password and account but it disconnects. Any help would be greatly appreciated. The session is as follows:

miles@ubuntu:~$ ssh 173.157.110.110 -l login -p 222
The authenticity of host '[173.157.110.110]:222 ([173.157.110.110]:222)' can't be established.
RSA key fingerprint is 48:77:9c:ca:be:78:50:60:6d:2d:d0:83:bf:56:c9:32.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[173.157.110.110]:222' (RSA) to the list of known hosts.
login@173.157.110.110's password:
Connection to 173.157.110.110 closed.
miles@ubuntu:~$

Hopefully none of this is too identifying. The other device is my Palm Pixi if that helps. I enabled ssh from the Pixi side and I'm pretty sure I did everything else right. Did I maybe miss something? I have been following the tutorial at http://palmpre-hacks.com/palm-pre-hacks/how-to-set-up-google-gps-tracking-on-your-palm-pre/ to the T

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

On the client run:

mv ~/.ssh ~/.ssh_old

Then try connecting, is it ok?

Revision history for this message
Miles Hamilton (mileshamilton) said :
#2

It didn't change anything, I am wondering if there is maybe a setting on the server side that could be preventing access? What would be some common things to check?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Can you access to ssh server logs to indagate... ?

Revision history for this message
Miles Hamilton (mileshamilton) said :
#4

Any idea where I might find the ssh server logs?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

/var/log/auth.log

Revision history for this message
Miles Hamilton (mileshamilton) said :
#6

There doesn't appear to be anything in this log relative to the ssh session, but I am by no means an expert. I ran another attempt and the only thing in the log during the time I am on is this:

Dec 1 14:16:28 ubuntu lightdm: pam_unix(lightdm:session): session opened for user lightdm by (uid=0)
Dec 1 14:16:28 ubuntu lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
Dec 1 14:16:30 ubuntu lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "miles"
Dec 1 14:16:30 ubuntu dbus[820]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.22" (uid=113 pid=1306 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.12" (uid=0 pid=1101 comm="/usr/sbin/console-kit-daemon --no-daemon ")
Dec 1 14:16:44 ubuntu lightdm: pam_unix(lightdm:session): session closed for user lightdm
Dec 1 14:16:44 ubuntu lightdm: pam_unix(lightdm:session): session opened for user miles by (uid=0)
Dec 1 14:16:44 ubuntu lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
Dec 1 14:16:48 ubuntu polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.47 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Dec 1 14:16:54 ubuntu dbus[820]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.50" (uid=1000 pid=1557 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.12" (uid=0 pid=1101 comm="/usr/sbin/console-kit-daemon --no-daemon ")
Dec 1 14:17:02 ubuntu CRON[1692]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec 1 14:17:02 ubuntu CRON[1692]: pam_unix(cron:session): session closed for user root
Dec 1 14:24:18 ubuntu gnome-keyring-daemon[1369]: unsupported key algorithm in certificate: 1.2.840.10045.2.1
Dec 1 14:24:57 gnome-keyring-daemon[1369]: last message repeated 7 times

I attempted to connect around 14:16 and again around 14:20 or so. does any of this make sense? For some reason I get the impression that my laptop, which is what I am using to access my phone, needs to be on some kind of list. The way it sounds to me is that when a request comes in from an external location, the phone runs the info from the external computer against a list and if it isn't in the list it closes the connection. Would this make sense? If it does, what type of file and location should I look for for this list? (It doesn't say much about in the config file)

Can you help with this problem?

Provide an answer of your own, or ask Miles Hamilton for more information if necessary.

To post a message you must log in.