zoukankan      html  css  js  c++  java
  • Putty配置

    https://www.chiark.greenend.org.uk/~sgtatham/putty/
    https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
    
    git
    https://git.tartarus.org/simon/putty.git
    http://git.tartarus.org/?p=simon/putty.git;a=summary
    
    设置:
    
    小键盘数字
    Terminal/Features
    [x] Disable application keypad mode
    
    字体
    Window/Apperance -> Font setings: Change...
    Lucida Console, 9-point
    
    复制粘贴改为xterm方式(Ctrl+Ins/Shift+Ins)
    Window/Selection => Control use of mouse
    [x] xterm (Right extends, Middle pastes)
    
    窗口大小
    Window -> Set the size of the window
    默认Columns,Rows:80,24
    可更改为:120,30
    
    自动登录用户
    Connection/Data -> Login details
    Auto-login username: root
    
    SSH *.ppk
    Connection/SSH/Auth -> Authentication parameters: Browser...
    选择一个 ppk 文件
    
    生成ppk
    1)运行PuTTY Key Generator,点 Generate,鼠标在界面空白区域移动直到生成好密钥。
    2)点Save private key,保存为ppk文件,如 linux_rsa.ppk
    使用
    1)复制界面上生成的Public key字符串(可以点Load按钮,打开一个ppk文件,然后复制)
    2)在ssh终端用vi等文本编辑器,将公钥独立一行粘贴到 authorized_keys 后面:
      $ ls ~/.ssh
      $ mkdir ~/.ssh (如果不存在.ssh目录,创建它)
      $ vi ~/.ssh/authorized_keys
      $ chmod -R 700 ~/.ssh (如果自行创建的.ssh目录)
      $ chmod 600 ~/.ssh/authorized_keys (如果新创建的)
    3)打开Pageant,右键托盘图标,Add Key,选择刚才生成的ppk文件。
      然后配合上面的“自动登录用户”,载入会话便会自动登录。
      若不使用Pageant,也可以根据上面的“SSH *.ppk”单独配置。
  • 相关阅读:
    实例化对象
    面向对象
    合并类动态规划——石子合并(洛谷1880)
    合并类动态规划——能量项链(洛谷1063)
    multiplicationoverview
    cadence 工艺库各文件夹所包含的内容
    C语言读入文件的函数列举
    一篇工程师的感悟(转载)
    验证汇总一些缩写代码含义
    Verilog代码覆盖率检查
  • 原文地址:https://www.cnblogs.com/Bob-wei/p/8336347.html
Copyright © 2011-2022 走看看