GXP2130 1.0.9.121 ssh -vvv -tt admin@x.x.x.x 'link' Hongbo! 'none' request, SHOULD NOT BE HERE!


#1

When I try to connect via ssh to GXP2130 with command to execute I get response :

debug2: exec request accepted on channel 0
Hongbo: enter recv_msg_userauth_request
Hongbo!!! ‘none’ request, SHOULD NOT BE HERE!!!debug3: receive packet: type 96
debug2: channel 0: rcvd eof

Any suggestion what this messages means ?

p.s. when I try connect to other network device with ssh -vvv -tt admin@x.x.x.x ‘command’ - everything works


#2

echo config$’\n’set 212 4$’\n’commit$’\n’cfg_update | sshpass -p’admin’ ssh -vvvv admin@x.x.x.x thats works
difference is “debug2: channel 0: request shell confirm 1”, when using echo | and debug2: exec request accepted on channel 0 when using ‘command’ or -o RemoteCommand ‘command’ . But how I can get same result without using echo ?


#3

Hi,

I’ve got the same problem with an ssh connection through php (ssh2_exec).
My script works with others device

GXP2160 1.0.9.69

Anyone has an idea ?

thank you


#4

for now I use shell script in ansible
spawn ssh -o ServerAliveInterval=30 -o TCPKeepAlive=yes -o ControlPersist=60 {{ user }}@x.x.x.x
expect “password”
set pass {{ password }}
append pass “\n”
send $pass

But still hope for some answer from support