Ching Tello
asked on
Convert rsh to PuTTY
Hi,
Need help with PuTTY implementation. My app uses rsh to communicate between Windows XP and UNIX. After migrating to Windows 10, rsh doesn't work. I heard that PuTTY is the replacement. I have below rsh command, how to convert to PuTTY?
1. rsh [unixHost] -l [hostlogin] mv [file_1] [file_2]
2. rsh [unixHost] -l [hostlogin] touch [file_1] [file_2]
3. rsh [unixHost] -l [hostlogin] perl test.pl
4. rsh [unixHost] -l [hostlogin] test.csh > test.txt
5. rsh [unixHost] -l [hostlogin] test.sh
Is it true that I also need to rewrite my scripts/Perl in PuTTY? What need to be updated in the scripts/perl for PuTTY?
Thanks for your help.
Ching
Need help with PuTTY implementation. My app uses rsh to communicate between Windows XP and UNIX. After migrating to Windows 10, rsh doesn't work. I heard that PuTTY is the replacement. I have below rsh command, how to convert to PuTTY?
1. rsh [unixHost] -l [hostlogin] mv [file_1] [file_2]
2. rsh [unixHost] -l [hostlogin] touch [file_1] [file_2]
3. rsh [unixHost] -l [hostlogin] perl test.pl
4. rsh [unixHost] -l [hostlogin] test.csh > test.txt
5. rsh [unixHost] -l [hostlogin] test.sh
Is it true that I also need to rewrite my scripts/Perl in PuTTY? What need to be updated in the scripts/perl for PuTTY?
Thanks for your help.
Ching
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I appreciate all the comments. Will test it.
Ssh user@host '/bin/mv ...
You are better off converting the sequential remote commands to a single script and run the script on the remote host.
If there is a schedule, the process could be managed directly on the Linux without a need for remote...
It does not appear that you are passing any info from the Windows side.