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
0answers
14 views

SSH agent forwarding is not working

My SSH agent forwarding is not working. The answer from this question is quite old and the answer is conflicting with the comments. Can we have an updated answer please? Basically I can SSH from ...
1
vote
0answers
75 views

What are all these rcuos processes running on my server?

I just started my first home server running Ubuntu 14.04.2 Server Edition. I installed OpenSSH and that's it; I haven't even opened the port yet to make it accessible to the outside world. I ran top ...
9
votes
4answers
9k 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
2answers
61 views

What stops anybody from copying their ssh public key onto my server?

I am setting up my first ever home server and want to make it ssh-able from the internet so i can access it anywhere. I am following this guide and I understand it so far up until where it says ...
1
vote
1answer
46 views

How to change the ssh host in Vagrantfile

I run vagrant(1.7.2) on Mac OS(10.10.3) with Snappy Ubuntu Core(15.04 stable), for docker, using VirtualBox 4.3.28 as a provider. It all went well before I configured the "public_network" in ...
0
votes
1answer
37 views

Why ssh -R allows port '0' but ssh -L needs a port number?

Why with ssh -R is possible to allocate a free port by specifying '0' while with ssh -L you need to specify a valid free port? I want ssh to use a local free port to FWD remote traffic without ...
2
votes
0answers
18 views

systemd - get dropbear to only look at openvpn interface

I am trying to configure dropbear to do the following. 1) Only listen on port 22 of the tun0 interface (made by openvpn service). 2) Only use public key authorization. I see that dropbear.socket is ...
1
vote
0answers
38 views

SCP connections mysteriously drop; too many connections?

I am running OpenSSH via Cygwin on a Windows 2008 server. This system acts as a file server for a pool of 30 build systems. At build time, each build system copies files as necessary from the file ...
33
votes
5answers
45k views

how do I change the colour scheme on PuTTY?

I'm using PuTTY to SSH from my PC at home to Linux computers at work, but some of the text (folder names) is dark blue on black, which is almost impossible to read. How do I change the colour-scheme? ...
-1
votes
1answer
26 views

Why can't I use a specified port in /etc/ssh/sshd_config for remote transfers?

I have just setup a vps server on Ubuntu 14.04, for security reasons, I changed the allowed port for ssh connections in /etc/ssh/sshd_config. So far I've been able to connect remotely via this new ...
2
votes
3answers
2k views

Copy ssh keys from one server to another server

I have a server (lets assume its ip be a.b.c.d) which allows users to login via ssh. Now I want to change the physical machine keeping the ip same. So that the new machine is still accessed by a user ...
8
votes
5answers
8k views

SSH Private Key File Won't Work (Permissions Error)

I keep an SSH private key file on a separate USB thumb drive (encrypted), but when I try to use it to connect to my remote host I get an error: ...
4
votes
4answers
1k views

SSH host authenticity issue

I'm receiving the wonderful "The authenticity of host xx can't be established." message when attempting to SSH into a box. I have two systems that recently swapped names. My system is a RHEL5.6 box. ...
2
votes
2answers
1k views

Haproxy for SSH name based proxying

I have a host machine with several lxc containers. I am trying to give ssh access to containers directly based on domain names. For this I have tried setting up HAProxy. Could achieve this easily with ...
0
votes
1answer
38 views

Start command inside xterm with login shell, over SSH?

I'm trying to use ssh to remotely start an xterm that runs a command inside a non-interactive login environment with a file that sets up the environment that is in a non-standard location. Anybody ...
0
votes
0answers
23 views

Two-Factor Authentication Ubuntu verification code + password not working

I'm trying to install google-authenticator on my Ubuntu server. I installed the lib via: sudo apt-get install libpam-google-authenticator then In my /etc/pam.d/sshd I've added: auth required ...
6
votes
5answers
90k views

How to run a command file in PuTTY using automatic login in a command prompt?

I am using the following to login automatically to a remote server and then run commands listed in a commands.txt, like this: C:\path\to\putty.exe -load "[Sessionname]" -l [user] -pw [password] -m ...
0
votes
0answers
18 views

Cannot rsync 2 qnaps over ssh

Here is my case and question. Me and my dad both have a Qnap NAS. And I would like to back-up to him (and he to me) using rsync. On both sides we can reach each other over rsync and ssh. But as soon ...
1
vote
2answers
58 views

SSH fails to connect from Raspberry Pi to Mac laptop

I've got two machines on a local network, a Raspberry Pi running Raspbian wheezy, and a Macbook Air running OS X 10.8.5. I'm trying to set things up so I can ssh freely back and forth between the two ...
5
votes
2answers
1k views

Can I be a root certificate authority for my local network?

This may sound crazy, but can I be the root certificate authority? I mean, I have many computers and smart devices in my home. Remote Desktop warns for the certificate not being trusted, because it ...
0
votes
0answers
24 views

SSH automatic login works but showing error after logging in. What does that mean?

$ssh -v server_name OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to server_name [IP_ADDRESS] port ...
0
votes
0answers
20 views

Multi hop SSH with certificate on bastion server

I have this situtation: my local machine a login server (with token implementation) a set of machines accessible only with another authentication from login server (token implementation too) this ...
2
votes
2answers
75 views

Tor with SSH Server on top of it

One of the problems with tor is the exit node - if it's a malicious, it can sniff all the traffic. If I will chain Tor and SSH server (Tor->SSH Server->Internet), the exit node will be able to decrypt ...
4
votes
5answers
4k views

Putty title changes after login

I am connecting with putty to a stock Ubuntu machine hosted at EC2, and notice the following: When I connect, the title of the putty window appears at first as the hostname I enter (e.g. ...
0
votes
1answer
27 views

Load the OS from SD card which is purposed to run on Raspberry, on my computer

I have an SD card where I want to write an OS for my Raspberry, then I want to do some modifications to its files, like create Python code files there in a convenient manner, install libs and ...
1
vote
2answers
54 views

How to execute sudo NOPASSWD command on other server via SSH

I have read all the post related to the issue. But If you can see mine as well and give suggestion. I am trying to do passwordless SSH and run a script on remote server. But Sudo access ask for ...
2
votes
0answers
35 views

SSH breaks after sending traffic through it using a socks5 proxy (Write failed: Broken pipe)

I run the following command at home on my local Linux machine: ssh -D 10.0.0.1:443 -C user@internet-server -p 21 This opens a listening socket on port 443. Then on another computer I connect to ...
0
votes
0answers
24 views

How additional IPs are added to hosting [duplicate]

Hi i have centos server with 1 ip address. I bought 2 more ip address from same server company, and i added them in ifcfg-eth0:0 and ifcfg-eth0:1 in my server. When i ping within my server using SSH, ...
0
votes
1answer
62 views

ssh connection error “Permission denied (publickey)”

So I have been trying to build ssh connections between google cluster container containing 1 master node and 2 worker nodes. I have used ssh-keygen to generate key pairs for all three nodes, send the ...
1
vote
2answers
31 views

How to set a time length of ssh and redirect the error message

I have a hostlist and there are several hosts. I want to use ssh to connect to them. I want to see whether the host is available or not by the time length of ssh takes. If it take long than 5s (which ...
0
votes
0answers
98 views

How to make an application accessible for ISPConfig's shell user?

We are using ISPConfig to manage our VPS. We have created a domain with a shell user assigned to that domain. There is an application installed on the VPS that is called Drush (shell application for ...
23
votes
6answers
131k views

How do I edit text files in the Windows Command Prompt?

On Unix I'd just use vi, but I don't know what the command is on Windows. I am actually trying to edit files over ssh with Windows Server 2008.
3
votes
2answers
594 views

how to mount local directory to remote like sshfs?

I know sshfs is used to mount remote directory to local, but I need to mount local directory to remote fs. I would like to mount a local folder such as: /home/username/project_directory onto a ...
0
votes
3answers
553 views

A remote desktop such as VNC but only for input device not for output device

I have a Linux desktop and a Macbook. The thing is I usually use those machines side by side and having multiple mouse and keyboard is confusing. I know I could use ssh or VNC to control Linux ...
0
votes
1answer
44 views

Can't Log in to azure VM running Linux from OS X

I´ve been trying to log in to a VM running Ubuntu in Azure from OS X through SSH verification. But when I try to connect to the virtual machine I get a Permission denied (publickey) error. To create ...
1
vote
0answers
109 views

Simplest way to setup my own remote private git server

First of all, I've read all the git-server-setup documents on the internet, but still, there is one thing missing -- I want to setup a simple GIT server in (Ubuntu) Virtual Machine for myself, not for ...
2
votes
3answers
83 views

SSH Private Key Authentication Failing

I'm kind of stuck here.. I am trying to disable all SSH login capabilities of root. No password login. No key-based login. Nothing. I have a user "andrew" that should only be able to SSH into my ...
1
vote
2answers
548 views

Redirect output of remote python app started through ssh to file

I have a python app in a remote server that i need to debug, when I run the app locally it prints some debug information (including python tracebacks) that i need to monitor. Im trying to redirect ...
13
votes
5answers
16k views

How can I copy multiple files over scp in one command?

I have to transport a lot of files from one PC to another (both Linux). I would like to use scp for that, but scp only allows for transferring one file at a time. How can I do this? I have No ...
1
vote
2answers
64 views

Is it possible to add a cipher for an sftp client?

I'm running into an issue where a server was upgraded to RHEL 6.5, and we have automated scripts on an RHEL 5.9 install that connects through sftp and ssh commands. Now, the new server only supports ...
40
votes
10answers
37k views

Top causes of slow ssh logins

I'd love for one of you smart and helpful folks to post a list of common causes of delays during an ssh login. Specifically, there are 2 spots where I see a range from instantaneous to multi-second ...
2
votes
1answer
3k views

Enable SSH access to my DD-WRT router TP LINK WR1043ND

I would like to copy to the tmp directory on my router, and do not know how to enable SSH to access it. I am connected to it via LAN and am running OSX Snow Leopard 10.5.6.
1
vote
2answers
65 views

Authentication with ssh and scp works but not WinSCP

I have a Ubuntu server with 3 user accounts (root, user1, user2). user1 has access via WinSCP, scp and ssh. No problems here. Then I've created another user2 but with this user I can't access the ...
0
votes
3answers
66 views

Bitbucket git SSH key error: “Bad owner or permissions on /home/centos/.ssh/config”

I've followed Bitbucket's instructions to add my SSH keys and use git without having to authenticate each time. I followed the instructions here. Then I get to ssh -T git@bitbucket.org I get the ...
0
votes
1answer
84 views

Passwordless ssh for non-root user in Docker

I'm running into a curious issue I've never seen before when setting up password-less SSH between docker nodes for a non-root user. To set the stage, here's what has worked: For root user on node 1: ...
3
votes
2answers
69 views

Why must I use sudo for ssh public key authentication to work?

I cannot ssh from my computer (OS X) to my raspberry pi (ubuntu mate), unless I use sudo. I am using a public/private keypair to authenticate. The appropriate public key is added to the ...
2
votes
2answers
57 views

SSH to access remote screen without X

I need to access a remote computer (which is attached to a screen), using SSH - the problem is that the programs I start via SSH need to be shown on the remote screen (tail, htop, slurm, ...) The ...
2
votes
3answers
7k views

VLC: Can I stream over SSH?

Question: Can I get a local VLC instance to stream media from a remote computer, via SSH? This is with VLC running on the local computer that I'm watching the video on, not remotely via ...
1
vote
3answers
77 views

SSH broken pipe kills foreground process

I have 2 hosts that I can connect them through SSH. In one host, after a while, I get the error Write Failed: broken pipe. In the other host, I don't get this error. I don't understand why in one ...
0
votes
2answers
9k views

xauth not creating .Xauthority file

When I ssh into a headless Linux Mint 17 system, it doesn't create update / create an .Xauthority file. Moreover, when I run xauth I get the reply: marty@N40L ~ $ xauth xauth: file ...