![]() ![]() The syntax of the session startup command would differ with a remote environment, particularly with an operating system and a shell.įor example with a Unix-like system and a bash shell, the command will be like (note the !/ pattern to pass the current remote path):Īs PuTTY needs the session startup command to be stored in a file, you need to make use of !`command` pattern to store the above command into a temporary file. If you want PuTTY to open in the same directory as WinSCP, you need to replace its session startup command using -m argument. WinSCP registers to handle ssh:// URL and opens the session specified by the URL in PuTTY. However, a better approach would be to use public key authentication together with Pageant. Optionally you can also instruct WinSCP to send a session password ( if known) to PuTTY. If WinSCP cannot find the PuTTY executable in the default path (particularly when you are using a derived version of PuTTY) you can specify the path in preferences. WinSCP will then instruct PuTTY to open that session (It will not export any settings, nor connection options). Alternatively, you can save PuTTY site settings with the same name as a WinSCP site. Or configure PuTTY settings on Environment page of Advanced Site Settings dialog. To change the defaults, either modify the “Default Settings” profile in PuTTY. It will particularly lackĪny terminal options, so the defaults will apply. Known by WinSCP, mostly connection options. The site settings will by default contain only the options To open session in PuTTY, instead of WinSCP, use Manage > Open in PuTTY command on Login dialog.īy default, WinSCP creates temporary site settings for PuTTY (under the name “WinSCP temporary session”). Opening Session in PuTTY instead of WinSCP You can also set up WinSCP to Automatically open new sessions in PuTTY. To open current session also in PuTTY, go to Commands > Open in PuTTY.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |