網頁

顯示具有 putty 標籤的文章。 顯示所有文章
顯示具有 putty 標籤的文章。 顯示所有文章

2014年9月2日 星期二

How to automatically log console output with putty?

You can set up like this:
1. start putty.exe
2. Go to Session -> Logging
3. Select "Printable output"
4. Choose the folder, where you want the log file to be placed
5. Append a file name like &H_&Y&M&D_&T.log (&H: host, &Y: year, &M: month, &D: day, &T: time)
6. Save the profile as default setting (Session -> Default Setting -> Save)


閱讀全文...

How to automatically login Putty with password?

使用版本: Putty.exe version 0.63
測試成功的指令為:
putty.exe -ssh host -l user -pw password
NOTE:如果沒使用ssh,直接把-ssh拿掉就行了。

寫成windows bat file:
start putty.exe -ssh host -l user -pw password
NOTE: 沒加入 start ,會開啟一個 DOS 視窗,一個 PUTTY 視窗。
閱讀全文...