putty

No X11 DISPLAY variable was set, but this program performed an operation which requires it using Putty? [closed]

自古美人都是妖i 提交于 2019-12-24 01:18:37
问题 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 4 years ago . I am using Putty to connect to a Server that was running remotely . To monitor the server i entered jconsole under the putty terminal I was getting this below exception . [user001@test.hhh.com ~]$ jconsole Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException: No X11 DISPLAY variable was set, but

PuTTY plink sending control+C

你。 提交于 2019-12-24 00:53:30
问题 I am using Putty plink command line utility to run a few scripts on my UNIX server. I use the -m option as: plink -ssh -pw xxx myserver –m file.txt The file file.txt contains a list of commands that are to be executed and is generated dynamically using some application program. Some of the commands in file.txt can run for hours, which will make the user wait for a long time. Moreover, I am interested in execution of the first line of each of the scripts. So I want to make sure that a control

Automatically Position Application Window Using Command File in Windows

梦想与她 提交于 2019-12-24 00:28:35
问题 I'm using PuTTY to access my BSD file server and I have several terminal windows open at once. I wrote a simple command file to automate opening the terminal windows and I'd like to know if it is possible to place them at a specific location. I have two monitors and as it is now, I have to manually drag the terminal windows over to my second monitor. 回答1: AFAIK you can't do it directly from a batch file without using some 3rd party software like AutoHotkey. It makes it incredibly easy to move

Executing command in Plink from a batch file

你。 提交于 2019-12-23 05:48:09
问题 I want to automate the export process which I take using expdp command in Oracle. Following is the contents of batch file I have created to open PuTTY. @echo off "C:\Program Files\PuTTY\plink.exe" username@Ip_Addr -pw password -m Open_Putty.txt` Following is the contents of Open_Putty.txt to execute different commands. echo $ORACLE_SID; Read oraenv; But after opening Open_Putty.bat it disappears without showing any output. Please help me with this. I want to set oraenv and run some more

Run a batch file when Pageant finishes loading SSH keys

隐身守侯 提交于 2019-12-22 18:19:31
问题 I've written two batch files - one to launch Pageant and load my keys, and the other to ssh some files onto a remote server. Individually, the scripts work perfectly. I am trying to combine them into a single batch file, but I can't get it to work. Here are the scripts - only a line each, really. To launch Pageant and load keys: start E:\PuTTY\pageant.exe E:\Keys\priv.ppk exit To use pscp: pscp F:\website\foobar\src\* foo@178.128.10.35:/var/www/html The problem is that the first script

Git mergetool meld on windows using putty

为君一笑 提交于 2019-12-22 12:57:22
问题 I have used meld to merge the conflicted files in git for a long time while running on Ubuntu. Now I need to merge files, but my environnement has changed. I now use a PC on Windows 7, and connects to a CentOS server using Putty. I installed meld on the server : Package meld-1.3.1-2.el6.noarch already installed and latest version I tried even to install meld for windows on my PC... it doesn't help. When running : git mergetool -t meld Here's the response : Merging the files: gagglon/v4/www

Specifying private key on PuTTY command-line

风流意气都作罢 提交于 2019-12-22 03:29:42
问题 I know there are simple commands to login to remote machine through VBA i.e. by specifying User@hostname and -pw option to provide the password in Wshell.Run function where Wshell is CreateObject("WScript.Shell") . However I need to use private key file (specified under Connection/SSH/Auth option in PuTTY) while logging in through Excel-VBA macro. Is there a way to do it? I need it because I am using admin account on the second form of my VBA code (First form is using user's own account) and

Jar file run on a server background with close putty session

时光总嘲笑我的痴心妄想 提交于 2019-12-22 00:15:11
问题 I have tried the run spring boot jar file using putty. but the problem is after closed the putty session service was stopped. 回答1: then i tried up the jar file with following command. its working fine . **nohup java -jar /web/server.jar ** 回答2: You should avoid using nohup as it will just disassociate your terminal and the process. Instead, use the following command to run your process as a service. sudo ln -s /path/to/your-spring-boot-app.jar /etc/init.d/your-spring-boot-app This command

login to fiware GE using putty (Windows) - what credentials?

时光毁灭记忆、已成空白 提交于 2019-12-21 21:35:07
问题 I have a FiWare GE instance setup, with a security group, key, and IP all configured. I also have Putty setup to allow me to connect to the instance. My problem is that when I connect I get asked for login information. I've tried my login credentials for Fi-Ware but that doesn't work. There are no other users associated, so I'm not sure what I'm supposed to use. There doesn't seem to be any (obvious) way to create users and associate them with an application either. Are there default login

CoreOS Vagrant Virtual box SSH password

女生的网名这么多〃 提交于 2019-12-21 21:34:38
问题 I'm trying to SSH into CoreOS Virtual Box using Putty. I know the username appears in the output when I do Vagrant up but I don't know what the password is. I've also tried overriding it with config.ssh.password settings in Vagrantfile but when I do vagrant up again it comes up with Authentication failure warning and retries endlessly. How do we use Putty to log into this Box instance? 回答1: By default there is no password set for the core user, only key-based authentication. If you'd like to