SSH 連線服務
SSH 全名為 Secure Shell 提供加密式登入存取服務
telnet ptt.cc
ssh bbs@ptt.cc
[sean@station62 桌面]$ ssh root@192.168.123.52
-----
public key 公用加密
private key 私用解密
---
linux ssh軟體
OpenSSH (Open Secure Shell)
openssh - 公用的套件
openssh-server - 服務端程式套件
openssh-client - 用戶端程式套件
openssh-askpass - X 環境密碼詢問登入程式項目
--
上傳與下載
[root@station62 ~]# /etc/init.d/sshd status
[root@station62 tmp]# scp lccnet@192.168.123.60:report/* .
lccnet@192.168.123.60's password:
group.txt 100% 893 0.9KB/s 00:00
passwd.txt 100% 1914 1.9KB/s 00:00
wgetrc.txt 100% 4479 4.4KB/s 00:00
[root@station62 tmp]# scp /etc/passwd lccnet@192.168.123.60:upload
lccnet@192.168.123.60's password:
passwd 100% 1908 1.9KB/s 00:00
[root@station62 tmp]# scp /etc/passwd lccnet@192.168.123.60:upload/passwd-62
lccnet@192.168.123.60's password:
passwd 100% 1908 1.9KB/s 00:00
