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
1answer
27 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 ...
0
votes
1answer
2k views

Can I output results of a MySQL query to a Excel file via Putty?

I'm on a local windows machine. The MySQL DB is on a CentOS machine elsewhere on the same local network. I want to output the results of the query that I'm typing directly into Putty into an Excel (or ...
1
vote
0answers
3 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
21 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 ...
31
votes
5answers
42k 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? ...
0
votes
1answer
17 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
1k 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. ...
0
votes
2answers
41 views

can't anybody copy 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 ...
123
votes
6answers
104k views

How to tell git which private key to use?

ssh has the -i option to tell which private key file to use when authenticating: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is read. ...
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
25 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
11 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
84k 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
5 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
0answers
9 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
34 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 ...
4
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 ...
4
votes
1answer
4k views

How to avoid sshfs freezing?

So the issue is this: I've installed sshfs on Ubuntu 12.04 and I'm trying to connect to a couple of remote servers. So initially the mount seems successful. Sometimes Gnome even picks it up and ...
-1
votes
0answers
16 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
7 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 ...
1
vote
1answer
3k views

Unable to ssh in beagle bone black

I wanted to install pip onto beagle bone black,and I tried this: /usr/bin/ntpdate -b -s -u pool.ntp.org opkg update && opkg install python-pip python-setuptools Then it threw errors, ...
2
votes
2answers
73 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
20 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
29 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
13 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 ...
1
vote
2answers
4k views

SSH error ssh_exchange_identification: read: Connection reset by peer

I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
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, ...
-1
votes
0answers
22 views

Difference between running a script locally and remotely

What is the difference between running a script remotely: ssh -t root@$machine -x "sshpass -p 'ubuntu' ssh -t ubuntu@$address -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/nul -x ...
0
votes
1answer
28 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
25 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
88 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 ...
20
votes
6answers
124k 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.
-2
votes
0answers
13 views

PSCP Cannot create file error. How to fix.? [closed]

I am trying to download backup file of my server from Unix CentOs machine to Local Windows. I tried PSCP with port number. But got some error. Please tell me how to fix it. pscp -P XXXX ...
2
votes
2answers
534 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
501 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
21 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
43 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
47 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
521 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
15k 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 ...
0
votes
1answer
13 views

How do I fix a cipher mismatch issue with sftp?

I'm running into an issue where a server was upgraded to RHEL 6.5, and we have automated bash scripts on an RHEL 5.9 install that connects through sftp and ssh commands. Now, the new server only ...
1
vote
2answers
25 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 ...
-1
votes
0answers
16 views

How to change Windows permissions for Linux NAS?

I have just finished setting up my new NAS (Western Digital My Cloud EX2) and I'm having trouble with permissions, I can read and write from the internal drives fine, but I have an external usb HDD ...
40
votes
10answers
35k 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
46 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
30 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 ...