ssh

Any way to check if a windows computer is running from ssh?

Is there any way to do that? Thanks ...

Reconnect a timed-out session

Hi everbody, When I do an ssh connection, after a while, the connection time-out and my term freeze. I know Enter + ~ + . to unfreeze it. But is there another key sequence to reconnect instead ? Thanks ...

Is there a way to use my current SSH connection for an SCP transfer?

I'm already connected to the server via SSH. How can I transfer files from it to the machine I'm connected from using SCP and the current SSH connection? ...

Ubuntu server: manually changed /etc/passwd shell for my user, now can't login

I attempted to change shell from bash to tcsh via editing /etc/passwd file directly. Yeah, dumb move. I guess I've learned my lesson. Now I can't SSH into the remote server. Any way to fix this? PS. I can still connect to MySQL server via SSH tunnel. Any way to use this? ...

Is Paramiko going to be ported over to Python 3.x?

Seems to be that PyCrypt is required to be ported, in order to make that happen. Is it hard to do yourself? ...

SVN+SSH into specific volume on OS X

Hi everyone. I'm trying to access a svn repo on an OS X (snow leopard) server. The sys admin created a new volume on that machine (volume name is "svn") just for svn repositories. On the svn volume, I created a directory called "repo". In repo, I created a repository called "test". I'm trying to access the test repo using tortoiseSVN...

SSH console file management

Hi! Do you know how to do file transfers via ssh. It's like you open two instances of the project and you transfer file from that remote instance to your instance. I was able to do this before via Putty but I completely forgot the keys I press to get this thing to work. It is like Midnight Commander where you have a cursor and two pan...

bash redirect stdout and stderr to separate commands over ssh

I am using BASH 4. I am trying to find a way to legitimately prepend output to indicate the type of output that it is. I am able to do this with something kind of like this... ls -l /tmp/abcdefgh 2> >(sed 's/^/stderr: /') 1> >(sed 's/^/stdout: /') stderr: ls: cannot access /tmp/abcdefgh: No such file or directory ls -l /tmp/ 2> >(sed...

SSH listen for incoming connections and make an outgoing connection

How to configure openSSH on ubuntu to listen on a local port, and forward the ssh connection to a remote server, only after the connection has been received. If I use ssh -D or ssh -L, they make the connection immediately to the remote server. A proper configuration using nc will also be ok. ...

Delete newline in Vim

Is there a way to delete the newline at the end of a line in Vim, so that the next line is appended to the current line? For example: Evaluator<T>(): _bestPos(){ } I'd like to put this all on one line without copying lines and pasting them into the previous one. It seems like I should be able to put my cursor to the end of each ...

what is the most comfortable way to ssh and vim/latex/c++ on android?

I'm debating if i should get droid x. i'd like to use it for work, meaning latex and code in c++. I use vim. i know this is possible with connectbot. but possible doesn't mean i can substitute a laptop. are there people that use bluetooth keyboard with android device and are happy? I don't mind the small screen. just curious about your...

How do I run PHPUnit Selenium tests over a ssh connection?

I'm using the yii framework and trying to get its unit tests running while connected over ssh on a CentOS server. When I run phpunit, it tries to launch Firefox, which fails with the error "no display specifiied" ...

Python easy_install gives [errno13]

Hello guys, I'm tring to install Hookbox but without success, when I call easy_install or python setup.py install it gives me [Errno 13] Permission denied: '/usr/local/lib/python2.6/site-packages/test-easy-install-68779.write-test' When I try to grant write permissions to this derectory it gives chmod: /usr/local/lib/python2.6/si...

Is it possible to generate a public key from private key?

If yes then they are really not a pair. I was trying to figure out how ssh [email protected] resolves my name using my private key. SSH debug suggests public key is passed to server. ...

Unknown value in SSH2 Diffie-Hellman Group Exchange Reply packet

Hi Everybody, I'm trying to understand more about how SSH works. I'm using Wireshark to grab the packets going between my machines (OpenSSH running on both ends). I'm stuck at the Diffie-Hellman Group Exchange Reply packet. There seems to be a length (4 Bytes) and value (1 Byte) not accounted for or not described by RFC 4419, just after...

How to change Putty SSH login IP address?

I have a CentOS Server which have multiple ip addresses. If i`m using various ip address to login in to my server via SSH to browse other website, the ip address sent to other website is the main ip address of the Server. For example: My CentOS Server have this IP addresses: 11.22.33.134 (the main) 11.22.33.34 11.22.34.210 11.22.34.43 ...

What is the simplest way of parallelization over a cluster with SSH and NFS?

I have a lot of trivially parallelizable computations and a lot (100s) of cores distributed overs SSH + NFS network. What is the simplest way of parallelization. The problem is that I don't know how long each task will take so I need some kind of queue. Is there something that is very easy to use? ...

Tried to set up fastcgi using ssh and things need fixin

here is my error To connect to your MySQL server as admin, type: my To get rid of these messages/aliases, edit your /root/.bash_profile [root@MYDOMAIN ~]# vim /var/www/vhosts/MYDOMAIN.com/conf/vhost.conf [root@MYDOMAIN ~]# /usr/local/psa/admin/sbin/websrvmng -av httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax err...

From FreeBSD webhost, trying to connect to Access database on Windows through SSH2

My webhost is Pair.com, which runs FreeBSD. PHP is compiled with iODBC. I have SSH2 compiled and installed and tested. I can connect to the Windows machine through the firewall and get a directory listing. What I need is the incantation to open an Access database file through the SSH connection. (Very low-traffic site, so Access sho...

Git push error: ssh: Could not resolve hostname domain.com[:7555]: nodename nor servname provided, or not known

I can't seem to use Git to push to the server. However, I can SSH to the box. I can't figure out why: $ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true [remote "server_idm"] url = ssh://[email protected][:7555]/home/usern...