Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

SSH access setup for Centos

What package do I need to install on Centos in order for

1. ssh login to the linux server
2. allow ssh login from one linux server to another and download some file on it

Tks
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

You need

openssh-server
openssh-client
openssh

yum install openssh-server openssh-client openssh

ssh ships scp ("secure copy") to copf files between machines.

Here are installation instructions:
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-openssh.html

Here is a HOWTO on public key authentication:
http://centoshelp.org/security/ssh-access-using-public-private-dsa-or-rsa-keys/

Also consult the ssh, scp, sftp, sshd, and ssh-keygen man pages — These man pages include information on how to use these commands as well as all the parameters that can be used with them.
Avatar of AXISHK
AXISHK

ASKER

The /home/[username]/.ssh/known_hosts includes some public key for remote servers. How do I put the ssh public key on the server ?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Tks