0
votes
0answers
88 views

Sockets stuck in FIN_WAIT2 after connected over ssh tunnel

I have a pair of C programs that transmit data over a TCP socket using a simple server/client connection. After connection, the server sends the client data until the client decides to terminate the ...
0
votes
2answers
39 views

Help: Enable Ports

I'm trying to enable a few ports, as I have a php script that uses sockets. I added the following to my httpd.conf file: Listen 6112 Listen 6113 However, when I execute my php script, it says the ...
1
vote
1answer
152 views

closing ssh ControlPath

I found the instructions on kerneltrap's mail archive: "scp batch mode?" to be insightful an useful, however when I issue the command to close the connection # Bring the connection down. ssh -S ...
0
votes
2answers
431 views

Linux command to wait for a SSH server to be up

I have a script which creates a virtual machine and gives me back an IP address. Then I would like to do something like this: waitforssh 192.168.2.38 && ssh 192.168.2.38 And it will wait ...
5
votes
5answers
3k views

Forward local port or socket file to remote socket file

Quick question - I run two linux boxes, one my own desktop and the other my VPS. For security reasons on the VPS end I opted for socket connections to MySQL (/var/run/mysqld/mysql.sock). I know I can ...