Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ssh in LG WebOS tv with pty allocation request failed on chanel 0

Tags:

ssh

webos

lg

I can access my lg web OS server through SFTP, But I want to access the server from terminal in ssh, It will raise the error

ssh -i .ssh/tv43_webos [email protected] -p 9922                                                                                               jwtiyar@ArcJwtiyar
Enter passphrase for key '.ssh/tv43_webos':
PTY allocation request failed on channel 0

mounting and unmounting not working as suggested by some users:

sudo mount devpts /dev/pts -t devpts  

Iam using Archlinux.

like image 526
Jwtiyar Avatar asked Oct 22 '25 13:10

Jwtiyar


1 Answers

You're missing the -T flag:

If an interactive session is requested ssh by default will only request a pseudo-terminal (pty) for interactive sessions when the client has one. The flags -T and -t can be used to override this behaviour.

ssh -i .ssh/tv43_webos [email protected] -p 9922 -T
like image 179
Andy E Avatar answered Oct 26 '25 19:10

Andy E



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!