Topic "Opening Putty in remote directory"

Author Message
wdt

Guest


Is there a way to open a Putty session in the current remote directory? This would be very useful.

Thanks for WinSCP. It is great software.
Advertisements
Harfang

Guest


Yes, it would be great, I add my vote to this. WinSCP is a very good software, I use it all day to build my website (to edit the remote files with their integrated editor) but sometimes I need a ssh console so I can for example install modules for my website...

And it is a bit boring to always end up in the root directory, going to the remote one would be fine...

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
wdt wrote:
Is there a way to open a Putty session in the current remote directory?

How would you instruct SSH terminal (PuTTY) to start at specified directory?
_________________
Martin Prikryl
Harfang

Guest


prikryl wrote:
How would you instruct SSH terminal (PuTTY) to start at specified directory?

I'm not sure it is doable, but there is perhaps a workaround... perhaps winscp can memorize the winscp directory, and once we are into putty, after login, executes a "cd" command to go to the remote directory?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Harfang wrote:
I'm not sure it is doable, but there is perhaps a workaround... perhaps winscp can memorize the winscp directory, and once we are into putty, after login, executes a "cd" command to go to the remote directory?

The only way to do "cd" after PuTTY windows opens is to send "keystrokes" to it. But this is not very reliable, particularly if PuTTY first asks you for your credentials.
One solution that came to my mind is to at least store the "cd" command to clipboard, so you can simply press Shift-Int + Enter to get where you need.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License