zoukankan      html  css  js  c++  java
  • SSH basics

    SSH, Secure SHell, was designed and created to provide the best security when accessing another computer remotely.

    Not only does it encrypt the remote session, it also provides better authentication facilities, as well as features like secure file transfer and network port forwarding so that you can increase the security of other network protocols. 

    使用username/pwd来连接远程机器,不够安全,密码可能被截取。用SSH的好处是会加密,方法是用putty客户端。而另一种更高级的方法是SSH private/public key pair,而且Pageant可以记住passphrase来自动连接每一次session。

    1, To use SSH on Windows, you have to download an SSH client. One of the best and freely available clients is called PuTTY

    2, A common usage of SSH is for transfering files. Under Windows, the best program to use for these is another program based on the implementation of PuTTY, called WinSCP. 

    3, Generating an SSH key is an optional thing. You can continue to use your server side password and be fine. However, it is more secure to use a private/public key pair with a passphrase and more options will be available to you by doing so.

    4,Pageant: Once you've entered the passphrase, all SSH based sessions using PuTTY or WinSCP, will use the agent to decrypt the private key for authentication. This means that you will not have to enter your password or passphrase anymore until you logout of your machine, close Pageant or tell Pageant to forget about the passphrase for the key.

  • 相关阅读:
    针对图片性能优化的总结
    activityGroup源码分析
    针对BaseAdapter的扩展
    ADB命令介绍
    一个对内存分析的文章。 非常棒。
    hdu 1285 确定比赛名次(很典型的拓扑排序)
    经典排序之归并排序
    hdu 1166 敌兵布阵 (树状数组)
    hdu 3518 Boring counting (后缀数组)
    hdu 3584 Cube(树状数组)
  • 原文地址:https://www.cnblogs.com/chayu3/p/3907797.html
Copyright © 2011-2022 走看看