putty

AWS EC2 Rstudio Server Error Occured During Transmission [closed]

非 Y 不嫁゛ 提交于 2019-12-08 09:47:36
问题 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 3 years ago . After over a month, I have managed to piece together how to setup an AWS EC2 server. It has been very hard to upload files as there are very conservative (size) limits when done via the upload button in Rstudio Server. The error message when this is attempted is "Unexpected empty response from server". I am not

Using System.Diagnostics.Process to input a y to a Plink on standard input?

谁说我不能喝 提交于 2019-12-08 07:51:07
问题 How do I pass a Y into a process started by a System.Diagnostic.Process in PowerShell? function Start-NewPlinkProcess( [string]$pfile = 'plink.exe', [string]$arguments = 'somehost -l somelogin -pw somepasswd ping -c 12 someOtherHost > /home/homeie/mePingTestResults.txt' ){ $p = New-Object System.Diagnostics.Process; $p.StartInfo.UseShellExecute = $false; $p.StartInfo.RedirectStandardOutput = $true; $p.StartInfo.RedirectStandardInput = $true; $p.StartInfo.FileName = $pfile; $p.StartInfo

Execute Unix commands using putty in C# [duplicate]

左心房为你撑大大i 提交于 2019-12-08 07:19:13
问题 This question already has answers here : Automating running command on Linux from Windows using PuTTY (9 answers) Closed last month . Hi I have the below code, I am able to open putty session but i was not able to give the inputs using C# , i have tried using process.StandardInput.WriteLine but it is not working . Please help me. class Program { static void Main(string[] args) { Process process = new Process(); process.StartInfo.FileName = @"C:\Users\win7\Desktop\putty.exe"; process.StartInfo

PuTTY PSFTP command line works as Admin, fails as User

我与影子孤独终老i 提交于 2019-12-08 06:24:13
问题 I have an interesting dilemma with PuTTY PSFTP. Set up... Pageant .60 putty .60 Used command: D:\psftp.exe -load myserver.domain.us.com -l User1 -b MyCommand Script This loads PuTTY PSFTP, logs in using the user ID with the help of Pageant and then sends a file using commands in the script. This works great while logged in as an Admin on the server. It fails while logged in as a regular user on the server: "psftp: no hostname specified;"blah blah blah. Including -v reveals no further messages

PuTTy “unknown option -o” when trying to connect

為{幸葍}努か 提交于 2019-12-08 04:48:35
问题 following the getting started guide I attempt to create & connect to a datalab vm instance with the command: datalab create demo but I get the following pop-up: then, on ok-ing the error, connection broken Attempting to reconnect... in the command prompt Any idea how to have the keys generated a different way to allow me to connect? 回答1: As a workaround, you can try either running the datalab connect demo command from inside of Cloud Shell, or downgrading to version 153.0.0 of the Cloud SDK.

Keep play application running after putty terminal closed

谁说胖子不能爱 提交于 2019-12-08 04:16:01
问题 How to keep play application running after putty terminal closed? After deploying play application in to server, I ssh'ed into server with putty terminal and ran the play application. However, once I close the putty terminal, play application no longer accepts http requests from client. To start the play application I used following command; ./{myplayapp}/bin/{executable} -Dhttp.port=8000 回答1: use screen to start your application. view existing screens with "screen -ls" and switch between

How to call and execute a shell script using PuTTY from VBA macro

拈花ヽ惹草 提交于 2019-12-08 04:05:36
问题 I am trying to write a VBA macro which will login using PuTTY and execute commands. The below code has been used. Sub open_putty() Dim UserName 'assign user name Dim Passwrd 'assign password Dim TaskID As Long UserName = "user name" Passwrd = "password" pc1 = "C:\Program Files (x86)\PuTTY/putty.exe -ssh " & UserName & "@ip address -pw " & Passwrd pc2 = "putty.exe -m ""C:\Temp\emu.sh""" TaskID = Shell(pc1, 1) TaskID = Shell(pc2, 1) End Sub Script throws an error saying 'Run-time error '53' -

Cannot compile PuTTY, Plink or Pscp on Windows due to missing Windows/MSVC subdirectory

安稳与你 提交于 2019-12-08 03:49:36
问题 I need to download and compile plink/pscp on my Windows. Since I need specific version (0.69), I searched for the tag, and checked out to that commit. In putty readme, they write that if I want to compile on windows, there is Visual studio solution: Inside the windows/MSVC subdirectory are MS Visual Studio project files for doing GUI-based builds of the various PuTTY utilities. These have been tested on Visual Studio 7 and 10. You should be able to build each PuTTY utility by loading the

tail -f using PuTTY hangs

笑着哭i 提交于 2019-12-08 02:45:05
问题 I am using PuTTY command line to connect to a server and tail a log file. On local machine I've created a file "tail-exec" which contains following text: tail -f /var/log/test.log I am starting putty through command line as: putty -ssh -t -pw -m tail-exec user@server This opens up the terminal window with log tail. But the problem is that this terminal hangs after there are few hundred lines added to the log. If I open putty manually, and then run the tail command from the bash prompt, then

How to execute multiple commands sequentially on device in Windows batch file using PuTTY/Plink?

旧街凉风 提交于 2019-12-08 02:05:46
问题 I am trying to configure a device over SSH in a automated way using a .bat script. In the snippet below I am generating a file with the required commands in the correct order, afterwards I execute/read the file into the SSH connection using plink . This results in a error message the the commands are unknown, I think this is caused by the fact that the commands are not executed one by one but the entire file is inserted. Does anyone have a idea how I can execute multiple commands sequentially