Link to home
Start Free TrialLog in
Avatar of Des Kelly
Des KellyFlag for Ireland

asked on

Using SFTP to transfer file from RHEL to Windows Client - using public key authentication.

Has anyone done this.
I would most appreciate help on configuration.

Thanks,

Ger.
Avatar of Kent W
Kent W
Flag of United States of America image

The prerequisite would be to have an SSH/SFTP server installed on the receiving Windows OS.
WinSCP has a pretty good tutorial as well as links for downloads (safe).

https://winscp.net/eng/docs/guide_windows_openssh_server
You can use scp/sftp client like putty on windows to pull files from linux.

Please see below link for steps to set trust / key auth.

http://www.edwardawebb.com/web-development/keys-putty-cygwin-passwordless-login-ssh-scp
Avatar of Des Kelly

ASKER

I'm pushing files from Linux server to Windows Server.
I have Winscp installed on the Windows machine and will review the links provided.


What do I need to do on the Linux side?

Appreciate the responses.
Hi,
Still looking for help on this.
Script to transfer files securly from Red Hat Linux to Windows PC.

If I generate Private & Public keys on Linux server where on the windows pc do I locate the Public key.
Do I need anything running on the Windows PC.
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
the steps given are for:

- installing and configuring
- setting key authentication

once done then you can test running sftp or scp from linux to windows to copy files
Thanks Omar,
Gonna get our Windows people to configure a windows client, per the link,we can test connecting to from Linux server.

Ger.
Welcome :)