|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Batch script with SSH
I'm using windows Xp and and I'm trying to create automated scripts to a linux SSH server. My plan is to be able to click a batch file resulting in all files (in the current folder on my xp machine) to be sent via SSH to my Linux server in /home/eric
So, I read that I needed to setup 'Public Key-Authentication', so that I could log into the ssh password less. Now, that its done.. I'm trying to create a batch file that can upload the file to the server. What is the next step? Can someone please help me out with creating a batch file to do this? |
|
#2
|
|||
|
|||
|
maybe a lead in the right direction would be nice if nobody knows what I would have to do?
|
|
#3
|
|||
|
|||
|
why not use Windows scheduler and FTP ?
|
|
#4
|
|||
|
|||
|
It has to be a script.. long story
|
|
#5
|
|||
|
|||
|
Ok, ... a batch file/script is really nothing more than a command string...
Since you have already compiled the command(s) to make the SSH connection...just add the MOVE or COPY string (to a plain text file with each command on a new line) and save it as whatever.bat |
|
#6
|
|||
|
|||
|
I'm trying to use "SFTP" however, windows doesn't recognize it. What .exe should I put in the win32 folder to get "SFTP" command working?
|
|
#7
|
|||
|
|||
|
Is there another forum that specializes in Scripts?? I really need some help on this and I don't have an entire summer.
|
|
#8
|
|||
|
|||
|
you've changed from connecting via SSH to FTP ?
did I miss something? |
|
#9
|
|||
|
|||
|
I'm trying to create automated scripts with SSH. I'm confused at what I must do now.
I have public key authentication enabled |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Batch script with SSH |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|