惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
H
Help Net Security
腾讯CDC
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
人人都是产品经理
人人都是产品经理
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
美团技术团队
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
博客园_首页
Recent Announcements
Recent Announcements
云风的 BLOG
云风的 BLOG
B
Blog RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
D
Docker
博客园 - Franky
Jina AI
Jina AI

jdhao's digital space

Conversion between base64 and OpenCV or PIL Image 腾讯云对象存储博客图床开启 CDN 加速(不需要购买额外域名) Search and Replace in Multiple Files in Vim/Neovim Change Table Column Width in LaTeX Image or Table Side by Side in LaTeX LaTeX 并排显示图像或表格 Firenvim: Neovim inside Your Browser Content inside HTML tags missing in Latest Hugo? Creating Markdown Front Matter with Ultisnips Labelme JSON 标注格式转 voc XML 格式 Nifty Nvim Techniques That Make My Life Easier -- Series 6 macOS 下如何为视频制作字幕 Running Command Asynchronously inside Neovim Resolving Merge Conflict after Git Stash Pop Pylint: command not found? A Hands-on Experience with Neovim's Built-in LSP Support How to Convert PDF to Images with Imagemagick 互联网上常用缩略语集锦 File Backup in Neovim Converting PDF Pages to Images with Poppler Nifty Nvim Techniques That Make My Life Easier -- Series 5 Neovim Configuration for System-wide Use How to sort a list of tuple or list in Python -- lambda or itemgetter? Building A Vim Statusline from Scratch 人类第一颗原子弹爆炸始末 Distributed Training in PyTorch with Horovod Learning Expect Programming Essential Knowledge about SSH Nifty LaTeX Techniques -- Series 1 更改 Adsense 邮寄地址,重新寄送 PIN
How to Use Putty on Windows
2018-04-12 · via jdhao's digital space

Putty is a powerful and slim ssh tool with rich features. It is widely used to connect to the remote servers. I will summarize some of its settings and usages in this post.

Use X server with putty#

Putty supports X11 forwarding. To enable this feature, do the following steps:

  • Load a remote session which you want to use GUI application
  • Go to connection->SSH->X11, check the option Enable X11 forwarding (see image below)

  • Go back to Session settings and save the change.

After these settings, you should be able to use X11 forwarding. Of course, you need to install a X server application, e.g., xming and vcxsrv.

How to remember the username and password of session?#

Short answer: remembering username is possible, but remembering password is impossible by deliberate design.

In order to set a default username for a session. First load the session. Then go to Connection->Data. Fill the username in the text box on the right of Auto-login username (see image below).

How to save the settings for a session#

This question has confused me for a while. Each time I set up a session, the settings are only valid fro the current session. The next time I open the session, I have to configure it again, which is annoying. The correct steps to save your settings are as follows:

  • Choose a particular session from the session list and click Load button to load it as the current session (the session name will appear in the text box under Saved Sessions)

  • Change to other settings page and set up the session.
  • Go back to the Session page and click Save button to save your settings.

How to start a session directly from the command line#

First make sure that putty executable has been added to your system PATH. Then use the following syntax:

putty -load "<session_name>" 

to open a session directly from command line. <session_name> must be a valid session name.


References#