Unable to ssh out of my Linux session...
From: ANTant@zimage.com
Date: 12/05/02
- Next message: wimbor: "I can't get Putty to display linechars properly"
- Previous message: Steve Bassler: "OpenSSH, AIX and lastlog"
- Next in thread: ANTant@zimage.com: "Re: Unable to ssh out of my Linux session..."
- Reply: ANTant@zimage.com: "Re: Unable to ssh out of my Linux session..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: ANTant@zimage.com Date: Thu, 05 Dec 2002 22:59:56 -0000
Hi. I cannot seem to ssh out from a Red Hat Linux v7.2 box. I
am not sure if it is a configuration issue or not.
* I can ssh out from SecureCRT v3.4.7 and PuTTY v0.53 in Windows.
* I can ssh out from the Linux box to a Windows 2000 SP3 box with
a SSH server service (VShell v2.1.1).
I tried turning off the ipchain and firewall services in Linux,
but that didn't help. I tried with debugging enabled (removed the
IP address/host name):
$ ssh -v <host>
OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 500 geteuid 0 anon 1
debug1: Connecting to apu.edu [<host>] port 22.
debug1: temporarily_use_uid: 500/500 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 500/500 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /home/ppi/.ssh/identity type -1
debug1: identity file /home/ppi/.ssh/id_rsa type -1
debug1: identity file /home/ppi/.ssh/id_dsa type -1
After a few minutes, ssh client never seems time out even after ten
minutes. I even tried to make a new user account to be sure that my old
account wasn't messed up. It still failed as well. Is it maybe the
company's firewall blocking it? If so, then how come I can ssh out from
Windows machines?
I tried strace with ssh (strace ssh <host>). I pasted the ending
of the output:
open("/home/ppi/.ssh/id_dsa", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/ppi/.ssh/id_dsa.pub", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/passwd", O_RDONLY) = 4
fcntl64(0x4, 0x1, 0, 0x1) = 0
fcntl64(0x4, 0x2, 0x1, 0x1) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1852, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1852
close(4) = 0
munmap(0x40017000, 4096) = 0
open("/etc/passwd", O_RDONLY) = 4
fcntl64(0x4, 0x1, 0, 0x1) = 0
fcntl64(0x4, 0x2, 0x1, 0x1) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1852, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1852
close(4) = 0
munmap(0x40017000, 4096) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
read(3,
Here's all the installed ssh packages (from Red Hat) I can find:
$ rpm -qa |grep ssh
openssh-3.1p1-6
openssh-askpass-gnome-3.1p1-6
openssh-askpass-3.1p1-6
openssh-server-3.1p1-6
kdessh-3.0.0-1
openssh-clients-3.1p1-6
Thank you in advance. :)
-- "I got this aunt... Carpenter ant." --Girl and Crow /\___/\ / /\ /\ \ Ant @ The Ant Farm: http://antfarm.ma.cx | |o o| | E-mail: philpi@earthlink.netANT or philpi@apu.eduANT \ _ / Remove ANT if replying by e-mail from a newsgroup. ( )
- Next message: wimbor: "I can't get Putty to display linechars properly"
- Previous message: Steve Bassler: "OpenSSH, AIX and lastlog"
- Next in thread: ANTant@zimage.com: "Re: Unable to ssh out of my Linux session..."
- Reply: ANTant@zimage.com: "Re: Unable to ssh out of my Linux session..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|