I seems another file needs patching, /etc/initng
- Code: Select all
cd /md8/etc/initng
cp sshd.i sshd.i.org
tftp -l sshd.i -r sshd.i-g ip-pc
reference https://plugout.net/viewtopic.php?f=26&t=2511&start=160#p23027
cd /md8/etc/initng
cp sshd.i sshd.i.org
tftp -l sshd.i -r sshd.i-g ip-pc
2021-03-22 16:26:26 Looking up host "192.168.39.220" for SSH connection
2021-03-22 16:26:26 Connecting to 192.168.39.220 port 22
2021-03-22 16:26:26 We claim version: SSH-2.0-PuTTY_Release_0.74
2021-03-22 16:26:26 Remote version: SSH-2.0-OpenSSH_5.1
2021-03-22 16:26:26 We believe remote version has SSH-2 channel request bug
2021-03-22 16:26:26 Using SSH protocol version 2
2021-03-22 16:26:26 No GSSAPI security context available
2021-03-22 16:26:26 Doing Diffie-Hellman group exchange
2021-03-22 16:26:26 Doing Diffie-Hellman key exchange using 4096-bit modulus and hash SHA-256 (unaccelerated) with a server-supplied group
2021-03-22 16:26:27 Server also has ssh-dss host key, but we don't know it
2021-03-22 16:26:27 Host key fingerprint is:
2021-03-22 16:26:27 ssh-rsa 2048 45:cd:80:3c:7d:09:c4:be:cb:eb:58:b8:46:86:7c:5a
2021-03-22 16:26:27 Initialised AES-256 SDCTR (unaccelerated) outbound encryption
2021-03-22 16:26:27 Initialised HMAC-SHA-1 (unaccelerated) outbound MAC algorithm
2021-03-22 16:26:27 Initialised AES-256 SDCTR (unaccelerated) inbound encryption
2021-03-22 16:26:27 Initialised HMAC-SHA-1 (unaccelerated) inbound MAC algorithm
2021-03-22 16:26:37 Attempting keyboard-interactive authentication
2021-03-22 16:26:37 Server refused keyboard-interactive authentication
2021-03-22 16:26:41 Sent password
2021-03-22 16:26:49 Access granted
2021-03-22 16:26:49 Opening main session channel
2021-03-22 16:26:49 Opened main channel
2021-03-22 16:27:11 Allocated pty
2021-03-22 16:27:11 Started a shell/command
2021-03-22 16:27:11 Session sent command exit status 1
2021-03-22 16:27:11 Sent EOF message
2021-03-22 16:27:11 Main session channel closed
2021-03-22 16:27:11 All channels closed
-03-22 16:26:41 Sent password
2021-03-22 16:26:49 Access granted
2021-03-22 16:26:49 Opening main session channel
2021-03-22 16:26:49 Opened main channel
2021-03-22 16:27:11 Allocated pty
2021-03-22 16:27:11 Started a shell/command
2021-03-22 16:27:11 Session sent command exit status 1
2021-03-22 16:27:11 Sent EOF message
2021-03-22 16:27:11 Main session channel closed
2021-03-22 16:27:11 All channels closed
fvdw wrote:-03-22 16:26:41 Sent password
2021-03-22 16:26:49 Access granted
2021-03-22 16:26:49 Opening main session channel
2021-03-22 16:26:49 Opened main channel
2021-03-22 16:27:11 Allocated pty
2021-03-22 16:27:11 Started a shell/command
2021-03-22 16:27:11 Session sent command exit status 1
2021-03-22 16:27:11 Sent EOF message
2021-03-22 16:27:11 Main session channel closed
2021-03-22 16:27:11 All channels closed
So password is accepted and shell started but it seem your putty is sending an exit to close the shell :scratch
fvdw wrote:how did you get this session output ?
fvdw wrote:what is your setting in putty connection>data terminal type string ?
(should be xterm)
fvdw wrote:and what is the setting of >connection seconds between keep alive (0 to turn off)
(should be 0)
2021-03-22 17:04:55 Looking up host "192.168.39.220" for SSH connection
2021-03-22 17:04:55 Connecting to 192.168.39.220 port 22
2021-03-22 17:04:55 We claim version: SSH-2.0-PuTTY_Release_0.74
2021-03-22 17:05:05 Remote version: SSH-2.0-OpenSSH_5.1
2021-03-22 17:05:05 We believe remote version has SSH-2 channel request bug
2021-03-22 17:05:05 Using SSH protocol version 2
2021-03-22 17:05:05 No GSSAPI security context available
2021-03-22 17:05:05 Doing Diffie-Hellman group exchange
2021-03-22 17:05:05 Doing Diffie-Hellman key exchange using 4096-bit modulus and hash SHA-256 (unaccelerated) with a server-supplied group
2021-03-22 17:05:06 Server also has ssh-dss host key, but we don't know it
2021-03-22 17:05:06 Host key fingerprint is:
2021-03-22 17:05:06 ssh-rsa 2048 45:cd:80:3c:7d:09:c4:be:cb:eb:58:b8:46:86:7c:5a
2021-03-22 17:05:06 Initialised AES-256 SDCTR (unaccelerated) outbound encryption
2021-03-22 17:05:06 Initialised HMAC-SHA-1 (unaccelerated) outbound MAC algorithm
2021-03-22 17:05:06 Initialised AES-256 SDCTR (unaccelerated) inbound encryption
2021-03-22 17:05:06 Initialised HMAC-SHA-1 (unaccelerated) inbound MAC algorithm
2021-03-22 17:05:45 Attempting keyboard-interactive authentication
2021-03-22 17:05:45 Server refused keyboard-interactive authentication
2021-03-22 17:05:47 Sent password
2021-03-22 17:05:47 Password authentication failed
2021-03-22 17:05:50 Sent password
2021-03-22 17:05:50 Access granted
2021-03-22 17:05:50 Opening main session channel
2021-03-22 17:05:50 Opened main channel
2021-03-22 17:05:50 Allocated pty
2021-03-22 17:05:50 Started a shell/command
2021-03-22 17:05:50 Session sent command exit status 1
2021-03-22 17:05:50 Sent EOF message
2021-03-22 17:05:50 Main session channel closed
2021-03-22 17:05:50 All channels closed
Return to Lacie 5big Network vs2
Users browsing this forum: nos96 and 13 guests