Recent Questions

متن مرتبط با «ssh reverse tunnel syntax» در سایت Recent Questions نوشته شده است

SSH reverse tunnel netstat ports

  • نیلوبلاگ

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

    ادامه مطلب
  • Creating a mail rule programatically or with certain syntax

  • نیلوبلاگ

    I want to create an Outlook mail rule for every company that I deal with so that @xyzcompany.com goes to xyz company folder and @abccompany.com goes to abcompany etc.. without creating a rule for each one. It would have to create folders for new companies that I haven't dealt with. If anyone has any ideas I would be most grateful. Let's block ads! بخوانید...

    ادامه مطلب
  • DDWRT - Syntax for Time Parameters in QoS CRON Job

  • نیلوبلاگ

    Please redirect me if I'm posting this question in the wrong place. Background: I'm currently running DD-WRT v3.0-r29519 std (04/25/16) on my TP-Link Archer AC1750. For QoS, I have HTP scheduling set up with a very simple set of rules defined in the DD-WRT GUI at */QoS.asp. I've searched through dozens of DD-WRT forum entries to try and understand this code, per the DD-WRT wiki page 1 17 * * * root /usr/sbin/svqos `nvram get wshaper_downlink` `nvram get wshaper_uplink` `get_wanface` `nvram get ...

    ادامه مطلب
  • Why do inactive SSH sessions terminate with "Write Failed: Broken pipe"?

  • نیلوبلاگ

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

    ادامه مطلب
  • Keeping a java app going when ssh is closed on Google Cloud

  • نیلوبلاگ

    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! بخوانید...

    ادامه مطلب
  • Delete and Arrow Keys not working when SSH into a Windows Box from a Mac...Help please

  • نیلوبلاگ

    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! بخوانید...

    ادامه مطلب
  • ssh authentication issue with Thunar

  • نیلوبلاگ

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

    ادامه مطلب
  • ConEmu: Create a new tab and run 'vagrant ssh' automatically after it is open produces a lot of output, can I somehow remove the output?

  • نیلوبلاگ

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

    ادامه مطلب
  • New SHDD suddently responding VERY slow - Seagate Desktop SSHD

  • نیلوبلاگ

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

    ادامه مطلب
  • Show MS Excel Syntax as you type Formula

  • نیلوبلاگ

    I have Office 2013 on my work computer and Office 2016 on my personal computer. On my work computer in Excel 2013 when you type a formula you get the suggested syntax for formulas as you type, but on my personal computer I am not getting this. On my work computer, for example, if I type the SUM formula I will see the suggestion: SUM(number1, [number2], ...) but I won't get this syntax suggestion for my personal computer (all I get is SUM) Is this just the version of Excel that I have on the diff...

    ادامه مطلب
  • After adding Host Only Network to VirtualBox machine on Mac Host how to ssh into the Guest

  • نیلوبلاگ

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

    ادامه مطلب
  • Why I still need to unlock ssh key

  • نیلوبلاگ

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

    ادامه مطلب
  • How to add SSH known host to known host file on Windows?

  • نیلوبلاگ

    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! بخوانید...

    ادامه مطلب
  • Switch from using SSH to MOSH, now everything is wrong

  • نیلوبلاگ

    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! بخوانید...

    ادامه مطلب
  • OSX - ssh keeps failing for different reasons

  • نیلوبلاگ

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

    ادامه مطلب
  • SSH multi-hop via config file

  • نیلوبلاگ

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

    ادامه مطلب
  • Windows 10 PowerShell setting up split tunneling

  • نیلوبلاگ

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

    ادامه مطلب
  • Logging remote ssh sessions on windows

  • نیلوبلاگ

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

    ادامه مطلب
  • Configuring Bidirectional Host Based Authentication in SSH

  • نیلوبلاگ

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

    ادامه مطلب
  • Ubuntu 16.04 ssh on a LAN fails with "connection refused"

  • نیلوبلاگ

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

    ادامه مطلب