ssh 客户端工具使用

导读:
  
http://docs.google.com/File?id=ajbgz6fp3pjh_4dnh4vq 第一印象,开始登录一台远程主机

http://docs.google.com/File?id=ajbgz6fp3pjh_6dqb4kp 最后点下面的 Open 按钮,输入正确的用户名和口令,就可以登录服务器了。

http://docs.google.com/File?id=ajbgz6fp3pjh_18ggw942 首次登录一台主机时

http://docs.google.com/File?id=ajbgz6fp3pjh_7dwfr79 PuTTY 的默认字体和字符集并不适合中文显示, 在窗口标题上点击右键,选择 Change Settings...

http://docs.google.com/File?id=ajbgz6fp3pjh_8v84bfs 在打开的配置窗口左边选择 Appearance,在右边点 Font settings 里面的 Change 按钮,选择好中文字体,比如:宋体、新宋体之类的

http://docs.google.com/File?id=ajbgz6fp3pjh_10tggsfh 字体选择好了,还要确定字符集。

http://docs.google.com/File?id=ajbgz6fp3pjh_11fx9xgm 重新执行命令 ls -l,就可以正常看到中文了

http://docs.google.com/File?id=ajbgz6fp3pjh_12dcqgjj 怎么还是乱码? 如果还是乱码的话,就执行以下命令,看看系统的字符集

http://docs.google.com/File?id=ajbgz6fp3pjh_13g7c77q 怎么还是乱码?

http://docs.google.com/File?id=ajbgz6fp3pjh_14f4mr3m 这下99%的情形下,汉字是不会有乱码了。最后,总之一下 PuTTY 中乱码的解决办法:

http://docs.google.com/File?id=ajbgz6fp3pjh_34gr9nf4 现在的

http://docs.google.com/File?id=ajbgz6fp3pjh_35fpbmnc 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_36ffvqw9 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_39fxmjwf 在 PuTTY 里面怎样选中,复制和粘贴?

http://docs.google.com/File?id=ajbgz6fp3pjh_40ftpjhp 其实这个右键菜单在标题栏上点击,也都可以看得到。

http://docs.google.com/File?id=ajbgz6fp3pjh_41ctwjj7 第三个选项是 xterm (xterm 方式),这个跟默认的 Compromise 方式相反的,中键和右键的操作调换了一下,就不多说了。

http://docs.google.com/File?id=ajbgz6fp3pjh_44d4r9km 按住 Shift 键重新操作一次,哈哈,这次选中了。

http://docs.google.com/File?id=ajbgz6fp3pjh_45fdnmqs 在 Control use of mouse 里面还有个 Default selection mode (默认的选择模式),默认是 Normal,就像文字处理工具里这样的选择

http://docs.google.com/File?id=ajbgz6fp3pjh_42fqrphv 另外一个是 Rectangular block(块选择方式),至于用哪种方式就看自己的选择了。

http://docs.google.com/File?id=ajbgz6fp3pjh_43crqhds 实时保存会话

http://docs.google.com/File?id=ajbgz6fp3pjh_15cv6tjj 关于注销登录的一些事情

http://docs.google.com/File?id=ajbgz6fp3pjh_16cfthdg 这样做是不对的,首先 这不是正确的注销方式 ,应该

http://docs.google.com/File?id=ajbgz6fp3pjh_172ttn2s 在上面的 Set the size of the window 里设置的是窗口显示的行数和列数,默认是 24 行、80 列,根据自己的需要来修改吧。

http://docs.google.com/File?id=ajbgz6fp3pjh_29df82d6 自动登录用户

http://docs.google.com/File?id=ajbgz6fp3pjh_26fwht7t 自动设置环境变量

http://docs.google.com/File?id=ajbgz6fp3pjh_27chqpj9 自动执行一个命令

http://docs.google.com/File?id=ajbgz6fp3pjh_2867tphq 你可以把远程自动执行的命令修改成 sleep 10,然后重新登录,再看看效果。

http://docs.google.com/File?id=ajbgz6fp3pjh_48f6945z 哈哈,是不是很方便?

http://docs.google.com/File?id=ajbgz6fp3pjh_49gj9fbd 数据自动压缩传输,变相的提高传输速率

http://docs.google.com/File?id=ajbgz6fp3pjh_3027j9vc X11 转发能够让你在 Windows 上使用 Linux 的程序

http://docs.google.com/File?id=ajbgz6fp3pjh_31dwfs64 然后在控制台直接输入 X 环境下运行的程序,比如:xlogo,我们就可以看到 Linux 上的GUI界面的程序在Windows桌面上打开了。

http://docs.google.com/File?id=ajbgz6fp3pjh_75cxsdngfs 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_76hcdrpffv 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_337nrmk 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_71grqbj7 在我的机器 192.168.6.25 上输入命令 telnet localhost 8080

http://docs.google.com/File?id=ajbgz6fp3pjh_77xkp6vkgg 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_78gg562vfc 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_79fjmmc9fs 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_37frnzzw 然后修改Saved Sessions会话名称 和 Host Name 这里的主机地址,点Save

http://docs.google.com/File?id=ajbgz6fp3pjh_38gqj8sn 如果在 Saved Sessions 这里和上面的 Host Name 清空,点 Save 按钮,就可以把设置保存为默认设置。

http://docs.google.com/File?id=ajbgz6fp3pjh_46cw3f2f 点击 Generate 按钮就开始生成一个公钥和私钥对,生成完毕后,点下面的 Save private key 就可以把私钥保存起来,扩展名是 .ppk 的文件。

http://docs.google.com/File?id=ajbgz6fp3pjh_52hjtwgx 等进度条走完之后,会出现下面的界面

http://docs.google.com/File?id=ajbgz6fp3pjh_53dknx7b 开始用 PuTTYgen 创建密钥

http://docs.google.com/File?id=ajbgz6fp3pjh_55dsfwtm 输入注释,上面的公钥也会随之发生变化。

http://docs.google.com/File?id=ajbgz6fp3pjh_54g4xn3b 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_58fh2th8 ssh 客户端工具使用

http://docs.google.com/File?id=ajbgz6fp3pjh_57cznt5t 最好也指定上自动登录的用户名,还记得这里吗?

http://docs.google.com/File?id=ajbgz6fp3pjh_59ddcg2b 开始登录吧,这次你会看到一个不同于以往的登录提示

http://docs.google.com/File?id=ajbgz6fp3pjh_60dq9jdj 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_61cvmzwq 以后这些步骤就不需要再重复了,只需要打开 PuTTY 后,双击一下保存的会话名称,输入密钥口令。

http://docs.google.com/File?id=ajbgz6fp3pjh_62f2tqn3 看看右下角吧,在这里呢

http://docs.google.com/File?id=ajbgz6fp3pjh_64f8qrq8 好,现在单击 Add Key 按钮添加私钥,我把这个演示用的私钥保存到 C:/ 了

http://docs.google.com/File?id=ajbgz6fp3pjh_65dc39fw 然后会出现输入密钥口令的对话框,输入正确的密钥后,单击 OK

http://docs.google.com/File?id=ajbgz6fp3pjh_66cwj3cc 这时,在 Pagent 的窗口中就能看到我们的私钥已经装载上去了。

http://docs.google.com/File?id=ajbgz6fp3pjh_67hf58c5 重新发布在线文档

http://docs.google.com/File?id=ajbgz6fp3pjh_68g5fstk 重新发布在线文档

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值