SSH to serial not working from LAN on AirconsoleTS, error: Bad file descriptor

Post any bugs you have found in our App here, if we know of a workaround we'll post it also

Moderator: sergey

gabriel-ca
Posts: 5
Joined: Wed Dec 09, 2015 3:17 am

SSH to serial not working from LAN on AirconsoleTS, error: Bad file descriptor

Postby gabriel-ca » Thu Feb 18, 2016 9:10 pm

Same issue with 3 new AirconsoleTS devices i have received.

SSH to Serial enabled in Advanced serial settings .

Whatever account i make or use admin, with or without TACACS+ when i SSH to the AirconsoleTS's on port 4001 or any other like 4002
Tried with different settings and different SSH clients with same issue for all.

You get a key sent to be accepted and so on and loging and password challange and then it just drops dead.
Extra settings needed that are not in the GUI ?

syslog.info syslogd started: BusyBox v1.12.1
user.debug btproxy: BTProxy starting up...
user.debug btproxy: Bluetooth disabled. Try setting bt_enable
user.debug 3gdetect: 3G device detection started
authpriv.info dropbear[337]: Running in background
user.info serialproxy: Detected 4 serial ports
user.debug serialproxy: telnetcpcd socket created on port 3696
user.debug serialproxy: telnetcpcd socket created on port 3697
user.debug serialproxy: telnetcpcd socket created on port 3698
user.debug serialproxy: telnetcpcd socket created on port 3699
user.info serialproxy: Connecting to private server at x.x.x.x
user.debug serialproxy: 4 sockets created, waiting for connection
user.info serialproxy: Attempting to connect to private server
user.info serialproxy: Attempting to connect to private server
user.info serialproxy: Connecting to private server websocket
user.info serialproxy: Connected to private server
auth.info PAM-tacplus[263]: Switched to root user (admin)
authpriv.notice syslog: pam_unix(login:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=admin
authpriv.info dropbear[610]: Child connection from y.y.y.y:41074
authpriv.warn dropbear[610]: Login attempt for nonexistent user from y.y.y.y:41074
authpriv.warn dropbear[610]: Login attempt for nonexistent user from y.y.y.y:41074
auth.info PAM-tacplus[610]: Switched to root user (admin)
authpriv.notice syslog: pam_unix(login:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost= user=admin
user.notice syslog: PAM password auth succeeded for 'xxxx01' from y.y.y.y:41074
user.warn syslog: syslogin_perform_logout: logout(pts/0) returned an error: Bad file descriptor
user.info syslog: Exit (admin): Exited normally
user.info syslog: Password for 'admin' changed
authpriv.warn syslog: pam_unix(login:auth): check pass; user unknown
authpriv.notice syslog: pam_unix(login:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
authpriv.info dropbear[637]: Child connection from y.y.y.y:41184
authpriv.notice dropbear[637]: PAM password auth succeeded for 'admin' from y.y.y.y:41184
authpriv.warn dropbear[637]: syslogin_perform_logout: logout(pts/0) returned an error: Bad file descriptor
authpriv.info dropbear[637]: Exit (admin): Exited normally
user.info syslog: Password for 'admin' changed
user.info syslog: Password for 'testarssh' changed
authpriv.info dropbear[670]: Child connection from y.y.y.y:41234
authpriv.notice dropbear[670]: PAM password auth succeeded for 'testarssh' from y.y.y.y:41234
authpriv.warn dropbear[670]: syslogin_perform_logout: logout(pts/0) returned an error: Bad file descriptor
authpriv.info dropbear[670]: Exit (testarssh): Exited normally

gabriel-ca
Posts: 5
Joined: Wed Dec 09, 2015 3:17 am

Re: SSH to serial not working from LAN on AirconsoleTS, error: Bad file descriptor

Postby gabriel-ca » Fri Feb 19, 2016 1:02 am

Almost there.

I have no discovered that SSH to Serial 4001 ONLY works if i have Raw Serial Enabled, that kinda still leaves it open to direct access making SSH activation pointless.

authpriv.info dropbear[1843]: Child connection from x.x.x.x:60002
authpriv.warn dropbear[1843]: Login attempt for nonexistent user from x.x.x.x:60002
authpriv.warn dropbear[1843]: Login attempt for nonexistent user from x.x.x.x:60002
auth.info PAM-tacplus[1843]: Switched to root user (admin)
authpriv.notice syslog: pam_unix(login:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost= user=admin
user.notice syslog: PAM password auth succeeded for 'xxxx01' from x.x.x.x:60002
user.info serialproxy: Connection accepted from 127.0.0.1 for serial port 0

jwats06
Posts: 4
Joined: Fri Feb 19, 2016 4:13 am

Re: SSH to serial not working from LAN on AirconsoleTS, error: Bad file descriptor

Postby jwats06 » Fri Feb 19, 2016 5:39 am

I can confirm this same behavior on my AirconsoleTS, SSH only works when raw serial is on. Not a big factor for my use, but wanted to atleast let you know it isnt your setup :)

gabriel-ca
Posts: 5
Joined: Wed Dec 09, 2015 3:17 am

Re: SSH to serial not working from LAN on AirconsoleTS, error: Bad file descriptor

Postby gabriel-ca » Tue Feb 23, 2016 4:07 am

Thanks, good to know.

daniel
Posts: 127
Joined: Wed Jul 27, 2011 9:33 am

Re: SSH to serial not working from LAN on AirconsoleTS, error: Bad file descriptor

Postby daniel » Wed Feb 24, 2016 12:41 pm

Hello,

Please upgrade to Airconsole 2.76 which should fix this issue - see here for download: http://support.get-console.com/solution ... ober-2014-

Regarding raw serial needing to be enabled - this is no longer the case from 2.77 onwards (which is still currently in testing)


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 22 guests