Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 am trying to write a script to login in to a SSH server and run a program. The problem I have is that it will not automatically enter the password, is there any way to do this?
you can't define a password for ssh within a script... that is, by definition, insecure. you will need to use RSA authorisation or similar to lo in that way.
hmm, ok i've got openssh 3.1 on this machine and 2.5 on the other, and am trying to sort out 2 way ssh2 authentication... i've got it now going from this one (md82) to the server (rh71) on ssh1 and ssh2 (rsa and dsa) but coming back the other way i can only get it on ssh1 (identity.pub) the sshd_config files are virtually identical and the log in /var/log/secure doesn't really give me any decent information. everything is a similar as i can see, any obvious stumbling blocks you're aware of?
And read the resulting streams of text. If you can't kill the sshd on the server (because you've no physical access to it, for example) add "-p 1022" to both of those lines. This will start another server on port 1022.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.