Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
0answers
8 views

How to perform remote JBOSS debugging to AWS (Amazon Web Services)

Our service provider setup an environment to host our website in AWS (Amazon Web Services). The website is running on JBOSS. We enabled remote debugging in JBOSS by putting: JAVA_OPTS="$JAVA_OPTS ...
0
votes
1answer
12 views

How to hide subdirectories within chrooted directory from users who don't have access

Apologies if this problem has been answered before / elsewhere. I've had a hunt around but am unable to find anything. If so please point me in the right direction. I'm running a linux ftp server ...
0
votes
1answer
52 views

How to check if file exists in remote Windows from local Linux script?

I'm writing a sh script to download a file from a Windows SFTP server. However, before doing so I want to check if the file exists. There were many questions out there that suggests downloading ...
0
votes
0answers
30 views

Ubuntu disables ssh login permanently after changing sshd_config

So I have been trying to follow this guide and so far I have wasted ~5 hours launching Ubuntu 14.04 instances to try different setup every time, the issue is basically quite common but non of the ...
0
votes
0answers
10 views

Is there a more secure way to cache my SSH key passphrase in memory?

I have a cluster of machines with many nodes. And instead of entering the passphrase (which are the same for all) for every machines, I want to cache the passphrase in memory using fabric. What steps ...
1
vote
1answer
13 views

SSH jump hosts error

I have trouble understanding a peculiar behavior of ssh jump hosts. I have these configurations in my ~/.ssh/config: Host bastion-server Hostname server.bastion.com ForwardAgent yes User user ...
0
votes
2answers
29 views

Can't ping my own computer from my server

I've setup an AWS server, and I can ssh into it from my home computer and everything acts normally. On the server, I can ping to any external website (i.e. google, cnn, reddit), but I can't ping my ...
0
votes
1answer
31 views

Connect to remote VNC with only port 22 using putty

I'm trying to access my home server remotely and I only have port 22 available to me. From what I understand it's possible to tunnel into the server to be able to view VNC. So far all my efforts have ...
0
votes
1answer
30 views

How to setup turnkey-mediawiki on remote linux host inside vmplayer without highjacking ssh?

I have been trying to solve this problem but have found only partial information like "use bridged mode" or "turn off the windows firewall" (for windows hosts), so I wanted to ask for specific advice ...
0
votes
0answers
33 views

Is my VPN breaking my SSH or is something else going on? [raspberry pi, NOOBs]

My goal is to set up my Raspberry Pi such that it is always connected to my VPN and can be always accessed by SSH and VNC. I use PrivateInternetAccess and Open VPN. Using this article I figured out ...
0
votes
1answer
15 views

Is it possible to copy public ssh keys from other users to a remote server when users have no access yet?

How to copy the public ssh keys from other users to to their ~/.ssh/authorized_keys on a remote server? I'm aware of the 'ssh-copy-id' command, but I assume it only work if the user has currently ...
-1
votes
0answers
11 views

linux ssh error while connecting to the host

I lately bought a host on godaddy, everything was working well until i started getting bothered to always have input the password and decided to use id_rsa to be able to get authenticated ...
0
votes
0answers
18 views

Tunneling IPv6 through IPv4 for a specific application?

Client: Supporting only IPv4 (OS: Windows 7) VPS: Supporting IPv4 and IPv6 (OS: Debian) On my client machine I run Proxifier in conjunction with PuTTY. With PuTTY I can create an SSH connection to ...
-1
votes
1answer
25 views

ssh login to remote hosted server having cpanel

I have recently bought a cpanel account from a web host re-seller. As far I know, cpanel is only the web interface to simplify the process of hosting a web site. Also, it provides command line ...
0
votes
1answer
12 views

Pass SSH Escape into nested SSH session

Suppose I ssh from my laptop to a server alpha, then from there ssh to a server beta. If the connection from alpha to beta dies, is it possible to pass SSH's escape (~.) across the ssh connection ...
0
votes
1answer
25 views

What is the HostKey?

In my sshd_config, there is three lines for the HostKey : # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key ...
0
votes
1answer
14 views

Has gnome-keyring-daemon replaced ssh-agent in non-headless situations?

I am running Ubuntu 14.04.1 LTS. In the past, I would add keys to ssh-agent to bypass having to enter my passphrase with ssh. Recently after a power outage, my PC rebooted and it seems that the ...
0
votes
0answers
17 views

SSH Specific identity file not working

Using ssh with the -i flag seams not to work. ssh -i ~/.ssh/aws.pem ec2-user@X.X.X.X Gives me the following error: Received disconnect from X.X.X.X: 2: Too many authentication failures for ...
1
vote
0answers
14 views

SSH Forwarding with Squid

I would like to ssh into a box that isn't front facing (box a). I have an offsite box (box b) that I have OpenVPN running on and box a is connected to that VPN so box b can interface with box a. ...
0
votes
1answer
32 views

Browsing through ssh socks proxy -> through reverse tunnel

I have HostA behind a firewall establishing a reverse ssh tunnel to HostB. I want to setup a proxy on HostB that will forward the connection through the reverse ssh tunnel and out through HostA. I ...
-1
votes
0answers
42 views

Putty: 'Server unexpectedly closed network connection' on new Amazon EC2

I've setup a new amazon EC2 instance and have this problem when I connect with putty: "Server unexpectedly closed network connection" Setup UBUNTU 14.04.1 LTS I've tried Rebot the instance; ...
1
vote
0answers
46 views

An error when SSH Tunneling on Linux. I get error of “…bad id: …Received ieof for nonexistent channel”

Whenever I open an SSH tunnel on linux with the ssh command after visiting a few sites over the proxy I get this: channel_by_id: 3: bad id: channel free Disconnecting: Received ieof for nonexistent ...
0
votes
0answers
8 views

Assign hostname to Paralells virtual machine?

I'm running Ubuntu 14.04 LTS inside a virtual machine via Paralells Desktop 10 on OS X. I'm accessing it via SSH via its IP-adress but I'd like to assign a hostname to it. How can I do so?
0
votes
0answers
7 views

auth.log time-stamps not ordered ?

We observe strange timestamps in the auth.log of an Ubuntu 14.04 LTS machine. How can this even happen ? Dec 2 03:12:46 clusterinfo sshd[29157]: Connection closed by 183.82.1.229 [preauth] Dec 2 ...
0
votes
0answers
30 views

SSH Reverse tunnel assistance with application

Well it does in a way. If I do something like: ssh -R 27011:localhost:25566 USER@NAME.COM -p 27010 NOTE: substituting the real username and domain with USER@NAME.COM for security. NOTE: The port for ...
0
votes
1answer
38 views

How to keep an SSH tunnel open in Windows

I use SSH tunneling to connect to a server (Basically IPython notebook instance) to do some computation work. My computations are intense and take need a lot of time to finish. Due to this, most of ...
1
vote
0answers
28 views

How to properly change SSH ports in Microsoft Azure?

I have a virtual machine on Azure—for testing, not a production server—based on Ubuntu 14.04 LTS. The default SSH port 22 is opened by default. I want to change it to 12131. I edited my SSH ...
0
votes
0answers
35 views

Close terminal if exit code is not 0 for command after login

For security, I'm trying to set up double authentication for a CentOS server. The way it works is you log into a user with SSH keys then once you log in it executes su to change to the root user, ...
1
vote
1answer
32 views

Complex alias command

I am trying to create a complex alias. I have a lot of servers I have to ssh to and writing the entire command is quite annoying some times. I created aliases for every machine: alias ...
1
vote
0answers
14 views

Using a tunnel to connect to another PC on my home network

How can I connect to another pc on my home network using a tunnel ? I have an ssh tunnel setup to my PC at home and I use it as an additional level of security when I conect over unencrypted access ...
0
votes
2answers
21 views

How can I start the process that doesn't die even after I close ssh? [duplicate]

I am sshing to my remote CentOS 5 server and want to run a script that takes long time. How can I have it keep running even after I close ssh session?
0
votes
0answers
15 views

Creating a remote session thru a linksys access point

I'm attempting to create a remote session from the internal network to a device that is attached to the WAN interface. Understandably this is a non-contiguous network issue. I have found ways to go ...
0
votes
0answers
15 views

Tunneling an RDP Connection Windows to Windows [duplicate]

I'm currently connected to a VPN which lets me connect to a Windows office server through RDP (from my own Windows machine). From that office server I'm allowed to connect to a customer's Windows VM ...
0
votes
1answer
34 views

SFTP to a host that can only be connected through SSH Bastion in Windows (Putty)

I don't even know how to explain this and the title might also be incorrect. But this is what I am trying to do, I use an SFTP plugin Sublime Text which connects to by dev machine (lets call it D) ...
0
votes
1answer
74 views

How to git pull without asking password?

I have a problem for make a auto pull for a git repository. I explain my situation : i have 2 sever on linux (Debian), one for the repos (dev01) and another one for make documentation with doxygen ...
0
votes
2answers
43 views

How can I copy-paste a directory from my computer to another computer using ssh?

Watching this video I have learned how to copy-paste from an external computer to my computer using ssh by doing scp name@IPadress :/what/I/want/to/copyPaste Now, my goal is to do the opposite, ...
0
votes
0answers
27 views

Using fingerprint scanner to authorize SSH access

I am looking for a way to implement the following scenario: Using a fingerprint scanner, while an authorized user swipes his finger on the scanner, it will allow him to remotely access an SSH service ...
0
votes
1answer
52 views

Cannot ping a computer but can ssh, ftp, http, etc. to it

I have a small computer that I mainly use as a file server, web server, and just general purpose server computer. It is running Ubuntu Server 14.04.1 LTS. This computer is at my parents' home while ...
0
votes
0answers
30 views

How to move files on a filesystem remotely without downloading and then uploading the content on the client?

I have a home server box set up running Windows 7 that is usually managed remotely (either from the local network or an external network) and there are often times that there is a requirement to be ...
0
votes
1answer
50 views

Docker login via ssh always asks for password

I a trying to create an Ubuntu image with an "ubuntu" user who can log into the container via ssh without using a password. It asks for a password when I try to log in. Here's the Dockerfile FROM ...
1
vote
1answer
124 views

Multiple SSH ports for Synology Diskstation DSM 5.1

I have a Synology Diskstation that I recently upgraded to DSM 5.1 (5004). I previously had my system configured to allow connections on both port 22 and port 10000. After the upgrade, it appears that ...
0
votes
1answer
33 views

how to setup openvpn services on servers behind firewall

I have a Ubuntu 12.04 server behind our department firewall, I could SSH login via domain name and port 8022, I tried setup openvpn services following guide: the Ubuntu 12.04 Server guide -- OpenVPN. ...
0
votes
2answers
23 views

Acessing samba shares on different internal network with different IP range

As you can probably see from my topography, my Raspberry Pi is directly connected to the ISP modem/router with an IP of 192.168.1.2, whereas my PC is one network underneath with an IP of 10.0.0.4. ...
0
votes
2answers
38 views

How can I scp a file across two servers in one line? [duplicate]

I'm using Mac 10.9.5 and bash shell. In our environment, we have to go through a proxy (a CentOS machine) to SSH properly into a destination machine (another CentOS machine). What I would like to do ...
0
votes
1answer
22 views

an ssh subsystem that does ls

Normally you create a subsystem by doing Subsystem vim /usr/bin/vim or something like that. So how would I do a subsystem that did ls -la? ie. you call the ls subsystem, it gives you an ls and then ...
0
votes
0answers
21 views

How can I Run my Kali Tools on a Remote Server

I am currently ssh-ed into a remote server. However, I do not have root permissions on the remote server and therefore am unable to install and use tools such as nmap. I've been trying to figure out ...
2
votes
2answers
37 views

Error writing to USB mounted on Raspberry Pi

I have a Raspberry Pi which I recently bought, and am planning to use it as a torrent box. While setting it up (over SSH) I tried to mount a 8GB SanDisk USB Drive I had connected to it earlier. ...
2
votes
0answers
16 views

Attach to the same tmux session from different nodes of a cluster

I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to ...
0
votes
0answers
7 views

How to make an exception in a pam module?

I have 2 servers: A and B. I want A to connect to B via ssh (as a non-root user) to run a sudo command. But sudo on B requires a yubikey input to allow the command: auth required pam_yubico.so ...
2
votes
2answers
73 views

Directly connect MacBook to Linux desktop via ethernet for fast SSH?

I am looking at building a Linux desktop—desktop only; no monitor support—and getting a MacBook Pro as my main computer for mobility. I would like—while I am at the office—to basically use my MacBook ...