
I've a question about SSH reverse tunnel. I've an ubuntu server with sshd installed. I open ssh reverse tunnel from a remote machines, on that machine the connection is restarted every time the tunnel is interrupted. Whenever a tunnel is opened, on the SSH server i can see two connection using netstat. One listening to the interal server port. Then other on an exteal port. The latter one is the SSH tunnel. As example. given 138.10.20.10: my ssh server and 10.34.23.12 my remote pc, 5000 the port ...
ادامه مطلب
I know that this is a common problem with a known solution. A quick web search tus up many results that point you toward the ServerAliveInterval (or less commonly the server-side ClientAliveInterval) configuration options. Setting one of these to some arbitrary value such as 15, 60, or 120 will solve the broken pipe issue. My question is why? Why does this happen in the first place? Who is closing the socket? I have my doubts about the OS killing the connection due to inactivity, given the fact ...
ادامه مطلب
Right now I'm running a java app by SSH-ing to a VM on Google Cloud Compute. I issue a command to run the app and it loads a console. As soon as I terminate the SSH connection, the app shuts down. I assume this is because the console has been closed. I would like this app (which is a server) to persist after I terminate SSH, and, at any point, I would like to be able to reconnect to the console and issue commands on the server. Thank You! Let's block ads! بخوانید...
ادامه مطلب
I've tried to use them with combinations of command control and alt, but nothing seems to work. It would be a total hit on my productivity that I can't delete or use navigation in ssh...I didn't notice this problem before so I suspect something changed it and made this now not work. I'm using openssh on the windows box but cygwin is also installed too. Let's block ads! بخوانید...
ادامه مطلب
I have a server that I ssh into all the time. I have ssh keys set up, but I'm noticing a strange behavior with video files that I'm trying to edit with VLC. As most know, with a program like Thunar, you can open individual files with VLC by double clicking in Thunar and you can also drag a selection of files onto a running instance of VLC to add them to a playlist on the fly. This works as expected with local files on the localhost. However, when browsing the remote server with Thunar, I'm able ...
ادامه مطلب
I'm running ConEmu on Windows, and would like to have task that opened a new console tab and run vagrant ssh automatically. Right now, I have this, which works, but produces a lot of output: "%ConEmuDir%..Gitgit-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i -new_console:s30Ht:'tests' -exec "vagrant ssh". The output looks like this: Here it seems to print a lot of the commands it does, before running vagrant ssh, and then logging in on the vagrant machine. Is there a way to get rid of all th...
ادامه مطلب
I have a two months old: Seagate Desktop SSHD - 2TB Im running this SSHD as a secondary drive (have an SSD running as boot), being a "backup" drive. I've created two partitions with it: one with 1.5TB one with 300GB'ish Suddently whenever requesting anything from that drive, the response time is VERY slow. At a point it was slow and next day alright again, however the last 4-5 days it has been consistantly slow. I experience the following: When clicking through folders and (usually) reaching so...
ادامه مطلب
I have added Host Only Network as the second network interface on VirtualBox 5.0.24 on Mac. Here are the relevant vb networks vboxnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 ether 0a:00:27:00:00:00 inet 192.168.7.1 netmask 0xffffff00 broadcast 192.168.7.255 vboxnet1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 0a:00:27:00:00:01 vboxnet2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 0a:00:27:0...
ادامه مطلب
I'm very confused. Every manual I read the last 15 minutes tells me this should work but it does not: $ ssh-agent -s SSH_AUTH_SOCK=/tmp/ssh-syXn9Tk09V9P/agent.16332; export SSH_AUTH_SOCK; SSH_AGENT_PID=16333; export SSH_AGENT_PID; echo Agent pid 16333; $ eval `ssh-agent -s` Agent pid 16362 $ ssh-add -l The agent has no identities. $ ssh-add .ssh/[email protected] Enter passphrase for .ssh/[email protected]: Identity added: .ssh/[email protected] (.ssh/[email protected]) $ ssh [email protected]...
ادامه مطلب
known_hosts file looks not trivial. On Windows I see it contains hostname, ip address and some RSA key. On linux I see it contains several keys separated by bar. Who manages this file on Windows? How to add some host as "known" to this file on Windows? Can Putty do this? If Putty has some host as known, can I copy this host record from Putty database to ~/.ssh/known_hosts on Windows? Let's block ads! بخوانید...
ادامه مطلب
So I got used to a lot of things which are changed now, and I want to know why they are changes. The main problems are: When I exited vim it's contents would disappear, now they are still on the screen, and are pushed up as with normal lines. When using the mouse's scroll wheel, I could scroll up to see past commands. Now it goes through past commands like the arrow keys. Let's block ads! بخوانید...
ادامه مطلب
I am using ssh to connect to my digitalocean droplets normally. Recently, all of them stop working suddenly and I can't access them but they highlight different reasons. Connection closed Operation Timeout when running using -v, I get the following: OpenSSH_6.9p1, LibreSSL 2.1.8 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 20: Applying options for * debug1: /etc/ssh/ssh_config line 102: Applying options for * debug1: Connecting to 12.345.678.900 [12.34...
ادامه مطلب
I would like to login to a remote server by executing sth. like ssh remoteServer. The remote server can only be reached via a login server (which there are two of). There are two routes I would like to be able to take (in case one login server cannot be used): A → B → D A → C → D Some info: A: my local computer B: login server; only allows useameB/password login (no key file); I cannot make changes (save key file etc.) C: login server; allows key file login; I can make some changes (not a superu...
ادامه مطلب
(my first question, sorry if I haven't followed the protocol exactly) I am trying to enable split tunneling on my laptop (Windows 10), I leaed one has to use PowerShell to do it in Windows 10: Windows 10 split tunneling But whey I type that command: set-vpnconnection office -splittunneling $True I get an error message: A parameter cannot be found that matches parameter name 'vpnconnection'. Could someone help please? Thanks This entry passed through the Full-Text RSS service - if this is your co...
ادامه مطلب
I currently have a application running on an Ubuntu Virtual Box which I can control remotely from a windows PC using plink.exe . However I wish to log the output from this session onto my windows PC . Is there a way to do this? Also I preferably like to use a csv format for logging .(Any help will be appreciated) This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#p...
ادامه مطلب
I have 3 servers (Ruby, Sapphire, Onyx) that I have been trying to setup passwordless (host based) authentication between for all users. I've configured the machines to use host based authentication and have modified the ssh_config, sshd_config, shosts.equiv, and ssh_known_hosts per this guide. I'm encountering this error however when I attempt to connect from one of the machines (Ruby) to one of the others (Sapphire): get_socket_address: getnameinfo 8 failed: Name or service not known get_sock...
ادامه مطلب
I've found the easiest way to resolve ssh connection issues is to use the debug mode of both the client and server applications. On one machine, we'll call it pcA, open a terminal and run the following command: /usr/sbin/sshd -d -p 2222 On the other linux machine, pcB, enter this command and watch the server output on pcA: ssh -vv -p 2222 [IP Address of pcA] What we are doing here is running a 'foreground' version of the ssh daemon on pcA, listening for connections on port 2222, running in...
ادامه مطلب
I tried to access ubuntu with SSH from outside network, but seem to be unsuccessful. I have installed - noip on my ubuntu server - ddclient - forward port 22 on my router as shown in picture. result from terminal port forward on router I'm able to access ubuntu with [email protected]. However, once I tried to access with global.ip.address from my isp or hostname registered with noip ([email protected], [email protected]), the response is always time out. I also try to ping the global.i...
ادامه مطلب
I set up a dedicated ssh key pair for the purpose of forcing a specific command on a remote server. I added the public key to the remote server authorized_keys file along with a command option specifying the command to be execute when this key is used. The command is a shell script which requires a single command line argument that I'm expecting to get passed in the $SSH_ORIGINAL_COMMAND environment variable. When I execute the ssh command from the client and specify the use of this specific key...
ادامه مطلب
so i just sent up an SSH server on my ubuntu server to transfer files between it and my other machines. now when i connected both ways, RSA public keys were created and stored it automatically. i wasnt sure what they were, because i thought i had to generate the key pair and transfer the public keys myself. but there were was a key in the ~/.ssh/id_rsa.pub on the server, a key that i had not sent to that computer... i thought that was weird and i was actually trying to figure how i would do that...
ادامه مطلب