putty

Capture STDIN / STDERR / STDOUT of a process AFTER it's been started, using command line?

依然范特西╮ 提交于 2019-12-03 06:57:29
Thanks! My usercase: I started a lengthy interactive 'configure' process (say under 'screen'), and then realised I need to always answer 'no' until I see a particular keyword. Seems a waste of time to do this by hand (not to say that I can easily miss the keyword..) Thus it seems I want to pipe (a copy of) STDERR / STDOUT to a filter, and also be able to inject into the STDIN of a (console) process, AFTER it's been started, using command line? Is there a ready-made solution? The following tools seem help. To capture output, use strace -ewrite -p $PID It's not that clean (shows lines like:

PuTTY Connection Manager download? [closed]

早过忘川 提交于 2019-12-03 06:38:19
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Where can I still download PuTTY Connection Manager? I am a PuTTY user and finally decided I need to upgrade to a tabbed SSH environment. I found a lot of threads/sites talking about PuTTY Connection Manager, but all of them pointed to missing pages/files. 回答1: Try SuperPuTTY. It is similar to puttycm. You can

Using pscp and getting permission denied

Deadly 提交于 2019-12-03 04:59:02
I'm using pscp to transfer files to a virtual ubuntu server using this command: pscp test.php user@server:/var/www/test.php and I get the error permission denied. If I try to transfer to the folder /home/user/ I have no problems. I guess this has to do with that the user I'm using doesn't have access to the folder /var/www/. When I use SSH I have to use sudo to get access to the /var/www/ path - and I do. Is it possible to specify that pscp should "sudo" transfers to the server so I can get access to the /var/www/ path and actually be able to transfer files to this folder? RoelAdriaans If you

SourceTree on Windows: How to connect to SSH?

99封情书 提交于 2019-12-03 04:50:10
问题 I have an SSH access to my web hosting, it works great with PuTTY (I just had to enter my domain, username and password), however it seems much more complicated with SourceTree. While PuTTY has a field for "Host Name", "username" and "password", SourceTree doesn't and requires a special file " .ppk "?! I need to connect SourceTree to my web hosting via SSH for the obvious reason that I want to use it to push to a remote repository located on my web hosting. So how do I get a .ppk file

Vim show strange  characters over putty

柔情痞子 提交于 2019-12-03 04:14:35
问题 When I am editing a file in Vim I have some lines with a bunch of  displayed. I have already checked the encoding with :set encoding It says utf8 encoding=utf8 Anybody knows where this is comming from and how to stop this behaviour? Regards, Jeremy 回答1: Make sure that PuTTY is set for UTF-8 as well. You can do this under Window -> Translation -> Remote Character Set. You may need to choose a font that supports a reasonable portion of the Unicode range as well -- Terminal isn't necessarily

Scp command syntax for copying a folder from local machine to a remote server [closed]

≯℡__Kan透↙ 提交于 2019-12-03 04:07:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . I am using putty for copying files from local machine to remote server.My folder is in C:/site can any one give syntax for copying folder from C:/site to remote server using scp 回答1: scp -r C:/site user@server_ip:path path is the place, where site will be copied into the remote server EDIT : As I said in my

Change mysql user password using command line

只愿长相守 提交于 2019-12-03 04:00:40
问题 I'm trying to update the password for a database user using the command line, and it's not working for me. This is the code I'm using: mysql> UPDATE user SET password=PASSWORD($w0rdf1sh) WHERE user='tate256'; Could someone tell me what's wrong with this code. 回答1: In your code, try enclosing password inside single quote. Alternatively, as per the documentation of mysql, following should work - SET PASSWORD FOR 'jeffrey'@'localhost' = PASSWORD('cleartext password'); FLUSH PRIVILEGES; The last

PuTTY PSCP error “Local to local copy not supported” when username contains a slash

匿名 (未验证) 提交于 2019-12-03 03:10:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to move a file from my local Windows machine to a remote Linux server using PSCP. I am connected to the VPN so that I can access my remote Linux machine with my username and password. My PSCP command for transfer is: pscp C:\Users\username\Desktop\list.txt PEM\username@10.120.43.78:/home/local/PEM/username This result in the error Local to local copy not supported I have tried this command just for a trial pscp C:\Users\username\Desktop\list.txt username@10.120.43.78:/home/local/PEM/username The above command resulted in asking

github: No supported authentication methods available

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i use github and have successfully added and synched files on my laptop in the past. as of recent i started getting " PuTTY Fatal Error: Disconnected: No supported authentication methods available " after running: git pull origin master (or push) however ssh git@github.com returns the correct response: ERROR: Hi username! You've successfully authenticated, but GitHub does not provide shell access Connection to github.com closed. after digging around on github i found this morcel: No supported authentication methods available You should be

AWS - Disconnected : No supported authentication methods available (server sent :publickey)

匿名 (未验证) 提交于 2019-12-03 03:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: SSH to my AWS server just broke for both Putty and Filezilla. I'm making some effort for this post to be a comprehensive troubleshooting list, so if you share links to other stack overflow pages, I'll edit them into the question. Disconnected : No supported authentication methods available (server sent :publickey) The error is familiar from when I set up the connection almost a year ago. If you're setting up AWS SSH for the first time, these address the most common problems: Wrong username: Disconnected : No supported authentication methods