1. configure ssh daemon at:
/etc/ssh/sshd_config
2. to enable ssh server, do the following as root:
systemctl enable sshd
systemctl start sshd
3. to restart sshd after a change to sshd_config:
rcsshd restart
4. can check if a specific port is open:
nmap -p PORT_NUMBER IP_ADDR
5. generate private and public keys (id_rsa, id_rsa.pub) using the following:
ssh-keygen
6. to upload the public key to the server:
ssh-copy-id name@ssh.server.org
using Cygwin in windows 8.1, need to run:
chgrp Users ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
0 件のコメント:
コメントを投稿