Skip Menu |

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 20840
Status: resolved
Priority: 0/
Queue: Net-SSH-Perl

Owner: Nobody in particular
Requestors: DONGXU [...]

Bug Information
Severity: Wishlist
Broken in: 1.29
Fixed in: (no value)

Subject: offer a context for session
Download (untitled) / with headers
text/plain 460b
Hi, Normally each call to cmd will open a new connection to remote server, which means such thing will easily be broken: <CODE> $c->cmd('cd <somewhere_other_than_home>'); $c->cmd('pwd'); </CODE> this case one has to do something like: <CODE> $c->cmd('cd <somewhere_other_than_home>; pwd'); </CODE> it works while very hard for debug inner scripts. I'd like to propose a shared-context session, holding just one active connection underlying. ---- BR, Dongxu
Download (untitled) / with headers
text/plain 150b
Net::SSH2 does what you want (look at the Channel object); this is too large a change to consider for Net::SSH::Perl at this point (maintenance-only).

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to