View Full Version : Computer Assistance - F-Secure SSH


Peter H.
03-01-2005, 09:54 AM
Ok guys, I need some help here.

I am writing a series of bat files to transfere data from a remote location. We are using F-Secure SSH on Win Server 2K3. I can call the program, and I can execute file transferes once SSH is up and running, but I cannot get it to establish a remote connection via a bat file.

I'm fairly proficient with bat files, but F-Secure is pretty new to me, so help is needed.

Thanks in advanced.

BSDaemon
03-01-2005, 10:26 AM
What program are using to transfer the files once connected over SSH?

I don't know about f-secure SSH.... But I do know that PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/) is pretty much the de-facto standard for free and powerful SSH clients.


SCP is the way I would copy files over SSH....
I would copy the "pscp.exe" that comes with putty somewhere into my PATH (c:\windows works) then have something like this in the batch:

pscp -pw password user@server.com:/path/to/file .

hope this helps! -Henry

Matadon
03-01-2005, 06:43 PM
I would recommend either copying the files with 'scp', or using 'sftp' to handle the transfers if, for some reason, 'scp' won't do the trick. 'ssh' doesn't have a built in file-copy mechanism itself, although F-Secure might be a bit different -- I'm a UNIX sysadmin by trade, and nominally only use GNU SSH.

You could also try using the Cygnus tools (cygwin) version of SSH, as it's likely more UNIX-y, and thus will be likely easier to automate via the command line.

MrMcFu
03-02-2005, 04:01 AM
Manup and www.cygwin.com

Computer Assistance - F-Secure SSH


Message Board Statistics