How to skip password in ssh?

From: David A. Ferguson (DavidAFergusonDELETETHIS_at_hotmail.com)
Date: 05/17/04


Date: Mon, 17 May 2004 09:12:17 -0500

I am trying to write some scripts that connect to another computer via
ssh. I don't understand how to make ssh login without manually
entering a password.

I have added a file /etc/hosts.equiv to the remote machine. It has
one line which is the IP address of the host machine.

192.168.0.253

This didn't help.

Is there some way to provide the password with ssh invocation?

Or, is there a way to store the passwords in a rc file somewhere?

Or, can I some how tell the remote computer to just trust me?

Thanks...David



Relevant Pages

  • Re: Remote Execution Through FTP
    ... > I need to send some file from my local machine to a remote machine ... > generation mechanism in SSH. ... then you can script this quite easily using public key's to authenticate. ... Make sure the permissions on the .ssh directory and all the files in it are ...
    (comp.unix.admin)
  • Re: Is SSH worth it??
    ... > We would be using SSH and SCP. ... SCP for automated scripts. ... > client will not be prompted for a password. ... remote machine, but imho it is better to swap client+server and give ...
    (Security-Basics)
  • Re: OT: Hard disk mirror with Paragon on USB stick?
    ... at least two pages of intricate command line stuff. ... The password is only used when you want to backup to a remote machine ... via the network, using the ssh protocol. ... (e.g. with linux, ...
    (sci.electronics.design)
  • Re: getting ssh to work
    ... > I recently tried to ssh into my desktop from another machine, ... > The remote machine in question is running OpenSSH_3.6.1p2, ... try running ssh and/or sshd in debug mode. ... and then quit when the remote user logs ...
    (freebsd-questions)
  • [Full-Disclosure] SSH/OPENSSH HOLE ALL VERSIONS.
    ... ssh is a program for logging into a remote machine and for ... executing commands on a remote machine. ... I have informed ssh developers about this vulnerability and they have not ...
    (Full-Disclosure)