If you need to open an SFTP tab to the same directory you're working on in your terminal window, you can eliminate some typing by using an escape sequence which will allow you to use relative paths, rather than the file menu or ALT+P (Command+P on the Mac) accelerator. This tip assumes you're using an SSH2 session.
Here is an example of how to set up and use an sftp-session escape sequence that opens an SFTP tab in your current server-side working directory.
Send the following escape sequence from the remote system to open the
tab window. (You need to specify the current working directory because
SecureCRT doesn't know what directory you are currently in on the
remote side):
<esc>&&Bsftp-session <directory
to open in>\n
Under UNIX, you can use the following command:
echo "^[&&Bsftp-session `pwd`"
Note: To get the "^[" characters, type "CTRL+V","CTRL+[".
Now that you have your alias "sftptab" set up, you can use the following escape sequence to open a new SFTP tab in your current working directory:
% pwdVanDyke Software uses cookies to give you the best online experience. Before continuing to use this site, please confirm that you agree to our use of cookies. Please see our Cookie Usage for details.
Here you can control cookies using the checkboxes below. Some cookies are essential for the use of our website and cannot be disabled. Others provide a convenience to the user and, if disabled, may reduce the ease of use of our site. Finally, some cookies provide anonymous analytic tracking data that help us provide the user with a richer browsing experience. You can elect to disable these cookies as well.