Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > File Transfer

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2021, 04:35 AM
g7rpo g7rpo is offline
Registered User
 
Join Date: Apr 2021
Posts: 1
Create SFTP session without connecting via SSH first

Hi

New to secureCRT running Version 8.7.1 (x64 build 2171) and was wondering if there was a way to create a saved session in the same way as ssh sessions that connect over SFTP instead,

I know I can do it once I am connected via SSH but would like to take that step out if possible.

Thanks

Last edited by jdev; 04-28-2021 at 09:14 AM.
Reply With Quote
  #2  
Old 04-28-2021, 09:27 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
Quote:
Originally Posted by g7rpo View Post
wondering if there was a way to create a saved session in the same way as ssh sessions that connect over SFTP instead. I know I can do it once I am connected via SSH but would like to take that step out if possible.
SFTP is the "SSH2 File Transfer Protocol", so it cannot be decoupled from an SSH2 connection; SFTP is a subsystem that operates over a channel established through an SSH2 transport.
Every SFTP client must first establish an SSH2 connection, and then request an SFTP subsystem session (instead of a shell session).

SecureCRT doesn't currently support singularly requesting an SFTP subsystem session directly, instead of a shell sesion. I've added a feature request on your behalf for this capability and while we don't yet have any ETA as to if/when such a capability might be implemented, we'll be happy to post here with news.

In the mean time, you can consider using SecureFX (which can share a configuration with SecureCRT), or employ a workaround in SecureCRT which uses a script applied to a copy of a saved session as that copy's Logon Script; the script would connect via SSH2, open an SFTP tab, and then close the original shell tab, leaving behind only the SFTP tab you desire -- allowing you to connect to a saved session from within the session manager, and end up with only an SFTP tab as a result (eventually, but without you having to manually open the SFTP tab yourself). An example of such a Logon Script is found in the script examples landing page under the specific heading, "Example: SFTP Tab Automation".

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support

Last edited by jdev; 04-28-2021 at 09:53 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:11 AM.