ssh

Is there easy way to install SSH in xampp for windows ?

Is there easy way to install SSH in xampp for windows ? ...

Guaranteeing every line is received in full from multiple PIPEs (STDOUTs)

Hello, I asked the other day if data integrity (of flushed data) is kept even when there are more than one PIPEs streaming into localhost's STDIN. The answer is NO if the data flushed is large. http://stackoverflow.com/questions/3445047/data-integrity-question-when-collecting-stdouts-from-multiple-remote-hosts-over-s But I would like t...

PSTools not working in SSH

When using PSTools (sysinternals) via SSH, you may notice that it stalls when you try the command. If it does this, you probably have not agreed to the license terms for each pstools command. Solution: Log directly into the Windows computer via Console or RDP as the user you wish to SSH in as and execute each command in pstools that you...

How to execute a script on linux ssh...?

How do I execute a script on ssh? I need to execute: /scripts/makecpphp So I have tried "run /scripts/makecpphp" but it didnt work. Any help would be greatly appreciate. I know for sure that that file exists there. ...

How can I know if the user is connected to the local machine via ssh in my python script?

How can I know if the user is connected to the local machine via ssh in my python script? ...

Start a script on a remote machine through ssh with python - but in reverse?

Here's what I need to do: The user is on a remote machine and connects to a server via ssh. He runs a python script on the server. The script running on the server starts a script on the user's remote machine as a subprocess and opens a pipe to it for communication. First, is this at all possible? Second, is this possible in such a ...

Avoid gnome-terminal close after script execution?

I created a bash script that opens several gnome-terminals, connect to classroom computers via ssh and run a script. How can I avoid that the gnome-terminal closes after the script is finished? Here is an example of my code: gnome-terminal -e "ssh root@ cd /tmp && ls" thx for your help ...

Hudson git error ssh

If there is anyone that can help me understand why this git repo isn't cloning that would be amazing. I runt the same command from the terminal it works. I hoping to find out where I can put the password so the server can authenticate the connection. Please and thank you. ERROR: Error cloning remote repo 'origin' : Could not clone ...

Create a xubuntu remotely through an ssh session instead of an xfce4 session

I'm attempting to startup a xubuntu session remotely though 'ssh -X' and I'm able to execute startxfce4 to bring up the standard xfce4 session but when I log in locally there is a 'Xubuntu session' choice which looks different then xfce4. What is the correct command line statement to bring up the full xubuntu display? ...

Connect to an oracle db in jdbc over an SSH tunnel

Currently we have to tunnel over SSH to access our Oracle database. In order to do this we have to make sure than putty or an equivalent program/script is running on the server doing this tunelling before the application is deployed to Tomcat/Glassfish/etc. Has anybody found a way to have java handle this tunneling transparently? Perh...

PuTTY: Change default SSH login directory

On Windows I use PuTTY to log in a remote server via SSH. Is is possible to change the default directory entry point I get to after I connect and login? (That would be a nice time safer) e.g. from server/home/ to server/home/subdir/subdir forgot to add that the remote webserver is linux based ...

tail -f using PuTTY hangs

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 i...

Java Ganymed ssh tunnelling... How to check that a tunnel is still open?

I have an ssh tunnel created with Ganymed's LocalPortForwarder class. It's working fine. The question is how (programmatically in Java) do I check that the tunnel is still open and active? For reference, here's the code snippet that creates the tunnel (error checking removed for brevity's sake): Connection conn = new Connection(remoteH...

remote jconsole session to ec2 box - how?

How do I turn off ssh login with pem authentication on an ubuntu ec2 instance to allow for a remote jconsole session? I am on an Ubuntu Lucid EBS-backed AMI. I tried changing the two lines below to no, but get a permission denied error: RSAAuthentication yes PubkeyAuthentication yes My ssh_d config file: # Package generated configu...

run shell script from php

Hi Guys, I am attempting to create a php script that can connect thru ssh to my Qnap TS219 server and run a command on it. My script so far connects fine to the server but when I run the command I get an error message and I can't figure it out. exec.sh #!/bin/bash cp /share/MD0_DATA/Qdownload/rapidshare/admin/script.txt /share/MD0_DA...

Where does the camel sftp endpoint expect the known_hosts file?

In order for camel to connect to a remote host, it needs to already have seen the fingerprint of the host and record it in a known_hosts file, just like .ssh/known_hosts . I get the setting from this file from a field in a database which is too small to contain the complete url... If I could symbolic link the .ssh file to the default l...

does RoR develpment need shell access?

let's say that RoR development environment is set up and working does the developer need shell access to develop the RoR application? would ftp be good enough? why? I don't want to give my future developers ssh access to my linux box. Or can I set up their file permission so they can read only their project directory? UPDATE the who...

how can paramiko get ssh command return code

client = paramiko.SSHClient() stdin, stdout, stderr = client.exec_command(command) Is there any way to get the command return code? It's hard to parse all stdout/stderr and know whether the command finished successfully or not. ...

How do you send meta key over ssh on Mac?

I'm using ssh in Terminal to ssh into a Linux host where I'm running Emacs. I'd like to be able to use meta key commands, but I'm not how to send them from my (local) Mac to the (remote) Linux host. How do I do that? Sorry if this isn't exactly a programming question. ...

the output of my fortran code is killed , any suggestion?

I'm trying to run a code on ssh that works perfect for a smaller mesh , but since the new mesh is much bigger i used ifort command to compile it, ifort -mcmodel=medium -i-dynamic -otest.out*.f and it complies but when i run it , the output is: killed i know that problem is from memory, does anyone know if there's any way to run it? how...