error: openpty: No such file or directory
hi
I cannot connect via ssh to a linux server (powerpc) and getting this message: Code:
# tail -f /var/log/messages Code:
# $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $ |
Moved: This thread is more suitable in Linux - Software and has been moved accordingly to help your question get the exposure it deserves.
|
Check the server configuration for the no-pty option. This might be used if you use ssh to set up tunnels to the server but don't allow terminals.
Look through your sshd_config file. Also look at the running process to see if another config file is being used instead: ps -C sshd -f As root you can cat the /proc/<PID>/environ variable and check which environmental variables are used (such as no-pty): sudo cat /proc/<PID>/environ | tr '\0' '\n' Another thing to check is if you have the PPC locked down so that only a local terminal can be logged into. I think that the error message would be different however. Also try "lsof -p <PID>" and see if you see lines such as Code:
sshd 2048 root 3u IPv4 10014 0t0 TCP *:ssh (LISTEN) It would be a good idea to look at the logs in /var/log, such as /var/log/messages & /var/log/secure if it exists. There may be more information there. Look for a log message from a time you attempted to log in. |
All times are GMT -5. The time now is 03:22 AM. |