Can I change terminal type used to login through Net::SSH in perl?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
When I login on some particular server through Net::SSH in perl (which I do not have admin access to), I get the following error:
%SECURITY-SSHD-4-WARNING_LOGIN : The requested term-type '' is not supported
(I also don't want to change my terminal type permanently).
part of my code as below,
my $ssh = Net::SSH::Expect->new (
host => "X.X.X.X",
user => 'bnegrao',
raw_pty => 1
);
eval
$ssh->login();
;
Is it possible to change the terminal type just when logging through Net::SSH in perl?
ssh perl
New contributor
add a comment |Â
up vote
0
down vote
favorite
When I login on some particular server through Net::SSH in perl (which I do not have admin access to), I get the following error:
%SECURITY-SSHD-4-WARNING_LOGIN : The requested term-type '' is not supported
(I also don't want to change my terminal type permanently).
part of my code as below,
my $ssh = Net::SSH::Expect->new (
host => "X.X.X.X",
user => 'bnegrao',
raw_pty => 1
);
eval
$ssh->login();
;
Is it possible to change the terminal type just when logging through Net::SSH in perl?
ssh perl
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I login on some particular server through Net::SSH in perl (which I do not have admin access to), I get the following error:
%SECURITY-SSHD-4-WARNING_LOGIN : The requested term-type '' is not supported
(I also don't want to change my terminal type permanently).
part of my code as below,
my $ssh = Net::SSH::Expect->new (
host => "X.X.X.X",
user => 'bnegrao',
raw_pty => 1
);
eval
$ssh->login();
;
Is it possible to change the terminal type just when logging through Net::SSH in perl?
ssh perl
New contributor
When I login on some particular server through Net::SSH in perl (which I do not have admin access to), I get the following error:
%SECURITY-SSHD-4-WARNING_LOGIN : The requested term-type '' is not supported
(I also don't want to change my terminal type permanently).
part of my code as below,
my $ssh = Net::SSH::Expect->new (
host => "X.X.X.X",
user => 'bnegrao',
raw_pty => 1
);
eval
$ssh->login();
;
Is it possible to change the terminal type just when logging through Net::SSH in perl?
ssh perl
ssh perl
New contributor
New contributor
New contributor
asked 5 mins ago
andrew
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
andrew is a new contributor. Be nice, and check out our Code of Conduct.
andrew is a new contributor. Be nice, and check out our Code of Conduct.
andrew is a new contributor. Be nice, and check out our Code of Conduct.
andrew is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479053%2fcan-i-change-terminal-type-used-to-login-through-netssh-in-perl%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password