
I've a question about SSH reverse tuel. I've an ubuntu server with sshd installed. I open ssh reverse tuel from a remote machines, on that machine the coection is restarted every time the tuel is interrupted. Whenever a tuel is opened, on the SSH server i can see two coection using netstat. One listening to the interal server port. Then other on an exteal port. The latter one is the SSH tuel. As example. given 138.10.20.10: my ssh server and 10.34.23.12 my remote pc, 5000 the port on my remote pc i would like to access to ssh -R 1122:localhost:5000 [email protected] Now server side i've two listening coections, which looks like this tcp6 0 :::1122 :::* ...
ادامه مطلب
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 coection due to inactivity, given the fact that the TCPKeepAlive option is enabled by default, which causes TCP keepalive messages to be sent in order to detect clients dropping offline. So the OS won't see the coection as inactive anyway. In th...
ادامه مطلب
Right now I'm ruing 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 coection, 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 recoect 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 ruing 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 to open individual files with VLC by double clicking a single file, no problem...But, when I try to drag and drop a bunch of files into a ruing instance of VLC, I get a prompt that reads: Please enter ...
ادامه مطلب
I'm ruing 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 ruing vagrant ssh, and then logging in on the vagrant machine. Is there a way to get rid of all the output? My default console is the Git bash. Let's block ads! بخوانید...
ادامه مطلب
I have a two months old: Seagate Desktop SSHD - 2TB Im ruing this SSHD as a secondary drive (have an SSD ruing 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 some 2-3 ier folder index, the SSDH stops up and VERY slowly loads (with progress bar) before the folder renders Writing to a file (like .txt, .php, .js /whatever) *saving work - takes 3-4 secs everytime ...
ادامه مطلب
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:00:00:02 inet 192.168.59.3 netmask 0xffffff00 broadcast 192.168.59.255 But none of those addresses are recognized on the guest itself (can not ping). So: Let's block ads! بخوانید...
ادامه مطلب
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] Enter passphrase for key '/home/iras/.ssh/[email protected]': In the ssh config there is an entry for server.de with another identity. Let's block ads! بخوانید...
ادامه مطلب
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 coect to my digitalocean droplets normally. Recently, all of them stop working suddenly and I can't access them but they highlight different reasons. Coection closed Operation Timeout when ruing 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: Coecting to 12.345.678.900 [12.345.678.900] port 22. debug1: Coection established. debug1: key_load_public: No such file or directory debug1: identity file cooing.pem type -1 debug1: key_load_public: No such file or directory debug1: identit...
ادامه مطلب
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 caot 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 caot make changes (save key file etc.) C: login server; allows key file login; I can make some changes (not a superuser though) D: target server; can only be reached from B or C; allows key file login I'm using a password protected private key file (on A and C; the same one) which I can use to log in to C and D. Here's...
ادامه مطلب
I currently have a application ruing 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#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting....
ادامه مطلب
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 coect from one of the machines (Ruby) to one of the others (Sapphire): get_socket_address: getnameinfo 8 failed: Name or service not known get_socket_address: getnameinfo 8 failed: Name or service not known Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,hostbased). Please Advise. I can provide configuration files and verbose ...
ادامه مطلب
I've found the easiest way to resolve ssh coection 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 ruing a 'foreground' version of the ssh daemon on pcA, listening for coections on port 2222, ruing in debug (verbose) mode. On pcB we are attempting to coect to pcA as an ssh client on port 2222, in verbose mode. Both pcA and pcB will output text indicating the flow of the coection process as they see it. ...
ادامه مطلب
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.ip.address/noip.hostname, and response is still time out. What I've done wrong? Let's block ads! بخوانید...
ادامه مطلب
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 like this: ssh -i id_rsa_mykey -o User=abc -o HostName=myhost xxx The remote script executes as expected and is passed the xxx in the SSH_ORIGINAL_COMMAND variable. If I attempt to pass the remote...
ادامه مطلب
so i just sent up an SSH server on my ubuntu server to transfer files between it and my other machines. now when i coected 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, i was going to SFTP it over, but then it was already there. am i missing something? Let's block ads! بخوانید...
ادامه مطلب
This is not a question about how to forward X through ssh or how to set DISPLAY so that the forwarded X works. That is a different question - if you wound up here looking for an answer to that just go 1 step further because 99% of X DISPLAY questions you'll find are for that. My question is specifically how to choose the DISPLAY port. That is, if I do ssh -X ... then check DISPLAY with echo $DISPLAY, I might see localhost:10.0 or localhost:12.0 or something similar. It is not always the same each time, as in the previous example where it contains a 10 one time and a 12 some other time. How do I choose what that will be instead of letting it be semi-random each time? I want to force it to alw...
ادامه مطلب