I'm running a strange 3.0.35 heavily patched kernel on an embedded device (Kobo eReader). Maybe it partly explains this issue.
kobo:/$ ssh firstname.lastname@example.org socket: Permission denied ssh: connect to host 127.0.0.1 port 22: failure kobo:/$ telnet 127.0.0.1 telnet: socket: Permission denied kobo:/$
Then I can do this without any problem:
kobo:/$ su root Password: kobo:/# ssh email@example.com firstname.lastname@example.org's password: Welcome to InkBox OS! * Warning * Root filesystem is mounted read-only. Invoke `ifsctl mnt rootfs rw' to make it read-write. kobo:~#
It seems, according to the stack trace, that
AF_INET socket creation as an unpriviledged user is the main hurdle:
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = -1 EACCES (Permission denied)
Is there anything I can do to fix it?