Maybe somebody make how to configure & use ssh?
client----serwer.
chmod +x /etc/rc.d/rc.sshd && service start sshd
JRD wrote:To add some information to Shador:
To enable ssh on the server:
- Code: Select all
chmod +x /etc/rc.d/rc.sshd && service start sshd
To connect to it on the client, just use "ssh" or "scp" command, or you could also use "remmina" to graphically connect to it and transfer files.
$ ssh-keygen -t rsascp /home/local/.ssh/id_rsa.pub remote@192...:~/id_rsa.pub$ ssh remote@192...$ cat id_rsa.pub >> .ssh/authorized_keysssh-addterminator -x ssh-addSSHAGENT=/usr/bin/ssh-agent
SSHAGENTARGS="-s"
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
eval `$SSHAGENT $SSHAGENTARGS`
trap "kill $SSH_AGENT_PID" 0
fiPermitRootLogin no
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
PasswordAuthentication no