Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'll like to tell u rsh is not secured, instead if possible use ssh
I hope it helps
thanks...
but now my officials are saying to use ssh .. but due to its high security, i cant make my perl scripts to execute commands in another system... u got the problem??..
actually i am trying to run a perl script on say like i m working in system1, ill try to access a perl script that is there in system2, through ssh (previously rsh, but tats not working for debian.. i m using debian)...
but ssh is asking me password every time and after giving password i can access through the terminal and not with my script (perl script not working, the initial connection to system2 can be made thro' perl script), rest i am using terminal.. so its not automation at all...
my officials r saying tat, bcos of security in ssh, i cant able to run my script ..so kindly help me..
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130
Rep:
if u want to access ssh without that can be done.
if u want password less connection between server 1 to server 2 for root user then login on server 1 thru root.
then use command ssh-keygen -t rsa, it will generate rsa key pair. keep pressing enter it will make the rsa key for u.
copy this key & login to server2 using root & paste the key in /root/.ssh/authorized_keys file.if the file does not exist then create it using touch.
if .ssh folder is not there then just ssh server1 from server2 & u will get the .ssh folder.
once key of server1 is placed in server2 then u can ssh from server1 to server2 without password.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.