Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > File Transfer

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2005, 08:03 AM
igork igork is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
Question sftp without prompting for password

Is there a way that I can sftp from a linux box to windows vshell server without prompting for password? I would like to use one command line to complete files transfer without any human interaction. I use “sftp –b” command but it asked me for password every time.

Thank you
Reply With Quote
  #2  
Old 10-04-2005, 08:43 AM
rblanch rblanch is offline
Webmaster
 
Join Date: Dec 2003
Location: asdf
Posts: 3
I use sfxcl.exe the command line utility for SecureFX. Instructions and examples are in the SecureFX help file.

HTH

-Rb
Reply With Quote
  #3  
Old 10-04-2005, 08:49 AM
igork igork is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
But I need files transfer from Linux to windows though.
Reply With Quote
  #4  
Old 10-04-2005, 01:20 PM
bocks's Avatar
bocks bocks is offline
VanDyke Customer Support
 
Join Date: Jan 2004
Location: Albuquerque, NM
Posts: 184
Hello igork,
Quote:
Originally Posted by igork
Is there a way that I can sftp from a linux box to windows vshell server without prompting for password? I would like to use one command line to complete files transfer without any human interaction. I use “sftp –b” command but it asked me for password every time.

Thank you
This would be possible if you configured VShell to use public key authentication and uploaded a public key generated on your linux box. You would then be able to transfer the files without having to enter a password. This option works well for automated file transfers.

When you installed VShell, you were prompted about installing support for public key authentication, did you accept this and reboot the system after the installation was completed?

Do you have a public/private key-pair already created on the Linux system?

Thanks,

-bocks
Reply With Quote
  #5  
Old 10-04-2005, 04:00 PM
igork igork is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
In order to generate public and private keys, I need to run vkeygen on the client (linux). Since vkeygen only comes with vshelld, does that mean I have to install vshell server on the linux client?

Thank you.
Reply With Quote
  #6  
Old 10-04-2005, 04:24 PM
bocks's Avatar
bocks bocks is offline
VanDyke Customer Support
 
Join Date: Jan 2004
Location: Albuquerque, NM
Posts: 184
Hi igork,
Quote:
Originally Posted by igork
In order to generate public and private keys, I need to run vkeygen on the client (linux). Since vkeygen only comes with vshelld, does that mean I have to install vshell server on the linux client?

Thank you.
VShell would make a good replacement for OpenSSH on the Linux box! But, you do not need to install it or run vkeygen to generate the keys. Are you using the ClientPack utilities for Linux?

You should be able to use the ssh-keygen utility to generate the keys for ssh to use. This process is documented in the VShell Help File. If you already have a key generated, you will just need to export the public key and install it into the appropriate public key folder in VShell. (Normally, this would be C:\Program Files\VShell\Publickey\username)

Once the key has been uploaded, and public key authentication has been enabled in VShell, you should be able to use the keys to log into the system without needing a password.

Thanks,

-bocks
Reply With Quote
  #7  
Old 10-05-2005, 10:05 AM
igork igork is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
It works! Thank you!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 06:10 AM.