Re: Passing password in ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why not just add the specific client to the known_hosts file on the
host.  A quick google search will give you several answers.  The
second one I found was:

http://waelchatila.com/2005/06/06/1118124232757.html

Automatic SSH/SCP Login without Password

   1. generate on your LOCAL machine a keypair with: ssh-keygen -t rsa
(dont type in any password, just keep hitting enter)
   2. make sure your private key resides under ~/.ssh (under windows
this can be under c:\documents and settings\yourname\.ssh or under
c:\cygwin\home\yourname depending on your ssh-keygen tool which you
need to download
   3. file transfer the PUBLIC key to the machine you which to
automatically logon to. Under the directory ~/.ssh (create it if
necessary) concatenate your public key with the file authorized_keys
(create file if needed)
   4. make sure the authorized_keys not read or modifiable by group or
others my doing chmod 700 ~/.ssh/authorized_keys
   5. make sure the ~/.ssh directory on the REMOTE machine is not read
or modifiable by group or others my doing chmod 700 ~/.ssh
   6. You may need to enable empty password authentication (need root
access) on the REMOTE machine in the config file sshd_config. Make
"permitemptypasswords yes". Restart SSH Daemon on REMOTE.
   7. On some machines, you may also need to make sure your HOME
directory is not writable by group or world. Type chmod 700 ~

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux