I am trying to get my feet wet with openSSH, but going nowhere fast. I
have this installed on both machines, with pretty much a default
config. sshd seems to accept my password, but the client just hangs:


>From server:

www:/usr/local/etc# sshd -d
debug: sshd version OpenSSH-1.2
Server listening on port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug: Server will not fork when running in debugging mode.
Connection from 217.78.196.97 port 2527
debug: Client protocol version 1.5; client software version OpenSSH-1.2
debug: Sent 768 bit public key and 1024 bit host key.
debug: Encryption type: blowfish
debug: Received session key; encryption turned on.
debug: Installing crc compensation attack detector.
debug: Attempting authentication for hal.
Failed rsa for hal from 216.78.197.97 port 2527
Accepted password for hal from 216.78.197.97 port 2527
debug: Allocating pty.
error: /de: No such file or directory

[WTH is this? Can't find anything in config files that might match.]

error: Failed to allocate pty.
debug: Received request for X11 forwarding with auth spoofing.
debug: channel 0: new [X11 inet listener]
debug: Forking shell.
debug: Entering interactive session.

==================================================================

>From client:

[hal@feenix .ssh]$ ssh -v iwx.com
SSH Version OpenSSH-1.2, protocol version 1.5.
Compiled with SSL.
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for *
debug: ssh_connect: getuid 500 geteuid 500 anon 1
debug: Connecting to iwx.com [206.255.223.253] port 22.
debug: Connection established.
debug: Remote protocol version 1.5, remote software version OpenSSH-1.2
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
Warning: Permanently added 'iwx.com' to the list of known hosts.
debug: Encryption type: blowfish
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Trying RSA authentication with key 'hal@feenix'
debug: Server refused our key.
debug: Doing password authentication.
[EMAIL PROTECTED]'s password:
debug: Requesting pty.
Warning: Remote host failed or refused to allocate a pseudo tty.
debug: Requesting X11 forwarding with authentication spoofing.
debug: Requesting shell.
debug: Entering interactive session.
Environment:
 USER=hal
 LOGNAME=hal
 HOME=/home/hal
 PATH=/usr/bin:/bin:/usr/sbin:/sbin:

[This path is all screwed up. How is it determing PATH? This does not
match root's or $USER's.]

 MAIL=/var/spool/mail/hal
 SHELL=/bin/bash
 SSH_CLIENT=217.78.196.97 2523 22
 DISPLAY=www:10.0
 XAUTHORITY=/tmp/XauthPj1303
Running /usr/X11R6/bin/xauth add www:10.0 MIT-MAGIC-COOKIE-1  \
   3c5853653020433d5694e298587eec6
/usr/X11R6/bin/xauth: (stdin):1: bad display name "www:10.0" in "add" command

[Where is the display being determined? This is not set in the
environment normally.]

login: No such file or directory

[Right there at /bin/login. Hangs at this point.]

Connection to iwx.com closed.
debug: Transferred: stdin 0, stdout 130, stderr 31 bytes in 0.1 seconds
debug: Bytes per second: stdin 0.0, stdout 2549.1, stderr 607.9
debug: Exit status 1


I have no idea where to go on this. Any help is much appreciated.


-- 
Hal B
[EMAIL PROTECTED]
--
            Linux helps those who help themselves


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to