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

1
vote
3answers
133 views

How do I properly SSH into a server behind a NAT while maintaining the tightest possible security?

I have a VPC in Amazon AWS. There's a NAT Server running in a Public Subnet that connects to an Internet Gateway. I have a bunch of servers running in various private subnets within the VPC. I'd like ...
1
vote
1answer
33 views

OpenSSH server refuses to accept key authentication unless logged into server locally

My server is running Ubuntu-Server and ahs OpenSSH-Server installed on it. I set up the /etc/ssh/sshd_config file to accept and require rsa keys, it looks for keys in the 'AuthorizedKeys ...
2
votes
2answers
2k views

Putty: 'Server unexpectedly closed network connection'

Putty 'Server unexpectedly closed network connection' I have been getting the 'Server unexpectedly closed network connection' (see Putty ends to an unexpected error and VNC shows terminal with error ...
0
votes
0answers
16 views

ssh on chromeos dev mode terminates quickly

When I open an ssh connection on a chromebook in dev mode to a server and leave it idle for a few minutes it becomes unresponsive and I have to close the tab and start a new connection. Is there a way ...
0
votes
1answer
17 views

Using ssh to connect to a windows machine, I can create a folder or delete a file, but can't create a file

I am using ssh.exe of cgywin to connect from one windows machine to another. I can run command such as these: C:\cygwin64\bin\ssh.exe -o 'StrictHostKeyChecking no' testcomputer -1 username 'cmd /c ...
2
votes
2answers
267 views

Password-less SSH not working with Mac OS X 10.9.5 Mavericks

I cannot get password-less logins working on my Mac OS X 10.9.5 Mavericks machine. I can login to a remote Ubuntu box after setting up the authorized_keys file properly. However, I cannot do there ...
1
vote
3answers
681 views

What could 'Roaming not allowed by server' of ssh client mean?

I'm failing to connect to an SSH server instance and the verbose output contains debug1: Roaming not allowed by server. The following predictable and there avoidable problems arise: Roaming means to ...
0
votes
3answers
93 views

How to run remote ssh command with multiple commands using quotes?

I have tried many combinations, but none of those have worked, and now my ideas have run out. So my intension is to get time from scheduled at-job, and make another AT-job half an hour before it. And ...
0
votes
0answers
28 views

Setting up a preferred network interface in linux

I need to set up the network interfaces of a linux box running Ubuntu Server. The box will be deployed in an industrial vehicle and will operate headless (i.e. no monitor, no keyboard/mouse). The ...
1
vote
1answer
19 views

How can I debug IOZONE over the network?

I'm working on a mac and I have a vm running ubuntu server. I created a file vm_client.iozone that looks like: vm /path/to/test /usr/bin/iozone I have configured iozone to work over ssh using ...
1
vote
0answers
127 views

Play sound *on* remote machine via ssh on Ubuntu / Linux

I want to play sound on a remote machine via SSH, without X11 involvement. Basically, after logging in via ssh, a command line like mpg123 test.mp3 should play the test.mp3 on this remote ...
0
votes
1answer
36 views

Why does ssh/sshd on server try to access /home/<user>/.ssh after I moved my users home directory?

I moved my users home directory with usermod -m -d /path/to/new/home/username which seems to have worked fine. However, in my [moved] home directory I have the ".ssh" folder that is set up to allow ...
0
votes
0answers
64 views

SSH key verification fails when connecting for first time

I'm trying to connect and it fails to verify key. I have no problems when connecting by PuTTY. $ ssh -v xxx.xxx.xxx.xxx OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading ...
0
votes
0answers
13 views

install programs whitout internet access on Machine A connected to Machine B with internet access

I have a Machine A with no access to internet. I have a Machine B with access to internet. A & B can connect to each other via ssh. I'd like to make some program installs on A (perl, R package ...
0
votes
0answers
20 views

Authentication lag with multiple open NX clients

I have a freenx system setup on a 12.04 Workstation which is experiencing intermittent connection and authentication issues. From what I can tell, it seems as if multiple NX connections cause the ...
-1
votes
1answer
19 views

How send tmux prefixer to remote server using iterm2

This is my first time using tmux and I have a problem. I have a remote server that I am connecting to it using ssh(using iterm2). Since opened, when I try to send commands like ctrl+b+c command+b+c ...
0
votes
1answer
117 views

Access of services using Android SSH tunnel

My school has a really strict firewall, and I can bypass it using the SSH Tunnel app for Android connecting to my Linux VPS. They blocked the default SSH port 22, then I changed my SSH port to 80. It ...
0
votes
1answer
57 views

Accessing mysql behind firewall with ssh port forwarding

I have an architecture which looks like this: | - DMZ - | ________ | ________ | _______ | CLIENT | | | SERVER | | | MYSQL | |________| | |________| | |_______| ...
0
votes
1answer
55 views

Why my iptables configuration for port-knocking does not work?

I implemented the following iptables rules on my test server for a course. The firewall shuts down and I cannot access port 22. However, after knocking on the ports 1111, 2222 and 3333 in that order - ...
0
votes
1answer
43 views

Transferring files through SFTP

When I try to upload files to my server I am getting a permission denied error. I am able to see all the files through filezilla and even download them but when I try to upload it doesn't let me. I ...
1
vote
0answers
52 views

sshd_config settings not taking effect

I've been trying to configure SSH public key authentication for non-interactive login for sftp and for that to work, I know I need to have the following settings: RSAAuthentication yes ...
0
votes
0answers
67 views

ssh over USB on Mac osx returning port 22 network is unreachable

When I try to SSH over USB to my device running linux, I get "ssh: connect to host 10.90.1.2 port 22: Network is unreachable" Mind you, I can run the same command "ssh root@10.90.1.2" on my linux ...
0
votes
0answers
21 views

How to get OpenSSH to use OCSP for revocation

As the title says, is there any (free) library, patch, etc. that allows OpenSSH to be configured to check x.509 certificate revocation via OCSP (online certificate status protocol)? If so, can you ...
-1
votes
2answers
32 views

SSH Keep Commands Running [duplicate]

If I SSH into another machine from my macbook, start compiling a very large project, and then power off my macbook, will the compiling continue on the remote machine despite having lost connection to ...
1
vote
1answer
52 views

On Ubuntu 14.04 with laptop mousepad disabled, how do I paste from clipboard?

I just installed Ubuntu 14.04 on my brand new laptop, having disabled the mousepad, so as to get used to the keyboard, I have just set up my Github account and SSH. The final step of account setup is ...
1
vote
0answers
111 views

How to use OpenSSL with openCryptoki and software TPM?

I would like to make work OpenSSH with OpenSSL plus openCryptoki (pkcs11) plus a software TPM. As far as I have understood, openCryptoki is capable of software token (for test purpose). I would like ...
0
votes
0answers
33 views

Why my connection in SSH is failing?

I am having trouble with making a connection through SSH Secure client in Windows 8. For making this connecition I am using VPN client and it makes the connection that I want but when I try to make ...
0
votes
0answers
75 views

Shell Script automatically exits from SSH section after switching of user (through pbrun command)

I have the below piece of code.. ssh some_user@server << EOF echo 'Successfully connected to the server' pbrun previlige -u user ls pwd id ...few more commands EOF if [ $? -eq 0 ] then echo ...
1
vote
2answers
93 views

Unable to login thru ssh after upgrading from 13.10 to 14.04.1

Well, I used do-release-upgrade and the system upgraded as I've done normally, and some custom key mappings here. But then I cannot login from ssh login as: root root@domain.net's password: Access ...
0
votes
1answer
41 views

Open an ssh session and pass a password on login

In the place where I live the internet connection basically works as follows: You have to configure your network interface to use a unique private ip and the organizations servers as gateway, which ...
0
votes
1answer
92 views

ssh automation deploy user www-data or other user

We have our project on /var/www and it is owned by user www-data. I would like to create an automation for deploy so I do: Connect through SSH as user www-data Navigate to /var/www/somefolder ...
0
votes
1answer
64 views

ssh agent forwarding failing at 6 keys

My client is mac os x 10.9.5. I have a bastion host (linux) that I am ssh'ng into. I have agent forwarding working so I can ssh to the bastion host and then ssh into another machine without having ...
0
votes
0answers
22 views

Rebuilt RedHat 5.6 client via VMWare, having timeout issues with putty/ping

I rebuilt a Redhat 5.6 server identical to another one after copying off a vmware template. The other one works as intended. Settings are nearly identical minus RAM size and storage. hostname, eth0, ...
0
votes
1answer
50 views

socat as argument to ssh: “bash: socat: command not found”

If I ssh into an osx box from a linux box, issuing socat works fine. However, if I give the socat command as argument to ssh it fails. socat was installed in osx using brew. Any idea why this is ...
1
vote
1answer
53 views

Chrome ssh tunnel forwarding

I am first logging into an ssh server. Then I am trying to use Chrome for ssh tunnel forwarding. Is there a gui way of doing this? I can do this in Firefox's gui in like 10 seconds so I would thing ...
2
votes
2answers
113 views

what is `ssh-agent bin/bash` and why I have to `ssh-add` everytime

I have to run the following commands each time I restart: ssh-agent /bin/bash ssh-add ~/.ssh/key_rsa First question is why is /bin/bash necessary and what it is used for? Second, Is it ok I run ...
2
votes
1answer
33 views

Check if Logged In via ssh or su

Let's say I'm called to a workstation and I face a console and I want to know if the current user logged in via ssh or su. How can I check that?
0
votes
3answers
42 views

Linux hosting with web-based shell access

I am looking for a service that gives user some computing resources, a Linux OS and a preferably web browser based shell access. Are there any services that you can recommend? The bandwidth usage ...
0
votes
1answer
239 views

How to ssh from Linux client to OS X host without error message “ssh_exchange_identification: Connection closed by remote host”?

My LAN comprises a desktop computer running Linux (Debian Wheezy), a MacBook with OS X Mavericks, and a modem-router; ssh with Linux host and OS X client functions well - no problems connecting from ...
2
votes
2answers
164 views

Bash / exit status is 0, while expected is 255

Have a code I've used for the tests hola="cd /var && ssh localhost.error" $hola echo $? Executing just cd /var && ssh localhost.error will return code 255. But executing ...
0
votes
1answer
26 views

Download system file with PermitRootLogin no

I have a remote server with root and regular user access to it, however the direct root access is forbidden using PermitRootLogin no in the ssh configuration file. So I'm left with no option to ...
0
votes
0answers
156 views

Unable to SSH into freshly installed debian VM, “Permission denied, please try again.” error

I just set up a Debian 7 VM. I can ping my VM from host OS, which is Ubuntu 14.1, but can not ssh into VM. Here is the output of ssh -v EDIT: I am using virtulbox. I am not using any command line ...
2
votes
1answer
33 views

Change puTTy presets via registry

I am fixing presets through the .reg file instead of in puTTy because I am going to make this an open source registry. Mostly changing themes, and my school doesn't know what the hell they are doing ...
1
vote
2answers
50 views

Is there any way to open a program on a specific tty?

I have a PC with no mouse or keyboard, but it is connected to a monitor. I was wondering if is it possible to open a program remotely (like via SSH) in a specific tty (like tty1) so I would able to ...
1
vote
2answers
90 views

Transfer file via SSH from server back to client [duplicate]

I am logged to remote server via ssh (linux) or via putty(windows). I want to copy file back to my origin machine from remote bash prompt (because of convenience). I know I can launch FileZilla or ...
0
votes
1answer
34 views

Append to file through SSH is failing with Invalid Argument

I'm trying to append to one of my inittab files through SSH from a different server. I've tried several attempts but seem to be failing. Any suggestions on how I can accomplish this would be greatly ...
0
votes
1answer
92 views

Linux filezilla cannot connect however there is no issue on windows

I am trying to connect to my server using secrue ftp (SFTP). On Windows I have no problem however on my Linux computer I get the following error: status: Connecting to 89.104.207.220... Response: ...
0
votes
0answers
46 views

WinRM or PowerShell Server?

I would like to be able to remote into my Windows machines with a command line only interface, to PowerShell. It must be secure. It seems like there are two options for doing this. One is the ...
-1
votes
1answer
36 views

Is it possible to connect to router through ssh?

I have a WiFi-router (cisco linksys) at my job and I have to access the database of our website frequently, but the access to the database is restricted and is only possible from my workplace. I read ...
0
votes
0answers
22 views

Batch arguments for SSH Secure Shell in Windows 7?

I installed SSH Secure Shell to connect to my remote server, and I want to automate the process of updating my website. I was going to make a batch script to automatically push and pull from my site ...