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
6 views

Gateway Server Jump Bastion Host Local Setup

I want to ssh to a remote private host using an intermediate (bastion, jump, gateway) server. This command works fine: ssh gateway ssh private With this ~/.ssh/config setup: Host gateway User ...
0
votes
1answer
14 views

SSH very slow log in after changing sshd_config, even on LAN

I am trying to get my home server to be ssh-able from the internet. Initially (before touching any config files, just doing apt-get install openssh-server i was able to connect to in while on my ...
0
votes
0answers
19 views

Troubleshooting SSH across networks when ICMP is not enabled

I have 5 Debian Linux servers at my main work, and a few at some of our off-site locations, and one personal one at home. I can SSH with PuTTY from Work to any of the 5 in the same building, and some ...
0
votes
0answers
9 views

GPG agent over SSH (with vagrant)

I'm using vagrant for building and signing my debian/ubuntu packages but I'd prefer to not have have to copy my GPG keys into the virtual machine just to sign packages. It just feels insecure. Is ...
0
votes
0answers
4 views

keyboard-interactive:pam asking for password not code

sshd_config UsePAM yes ChallengeResponseAuthentication yes AuthenticationMethods publickey keyboard-interactive:pam pam.d/sshd #auth required pam_securetty.so #disable remote root auth ...
-1
votes
0answers
14 views

OSX Terminal Start VPN Connection

I am trying to find a way to use terminal to connect to an existing VPN connection (that was created in System Preferences > Network > + VPN Type: Cisco IPSec, etc etc) instead of using the VPN ...
1
vote
0answers
9 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 ...
0
votes
0answers
12 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 ...
1
vote
0answers
7 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
votes
1answer
18 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 ...
0
votes
2answers
58 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
14 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
37 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 ...
-1
votes
0answers
17 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
1answer
28 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
1answer
31 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
21 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 ...
0
votes
0answers
8 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
0answers
16 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, ...
-1
votes
0answers
23 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 ...
1
vote
2answers
32 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 ...
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
1answer
30 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
1answer
9 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 ...
-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 ...
0
votes
1answer
23 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
46 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
51 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
votes
0answers
19 views

How to change Windows permissions for Linux NAS? [on hold]

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 ...
0
votes
1answer
15 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
27 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 ...
3
votes
2answers
42 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 ...
0
votes
3answers
33 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
24 views

SSH private and public key creation and setup

I'm attempting to gain access to a web server using an SSH key. I followed several steps to create my keys, had them uploaded and am still unable to connect. In Git Bash (on Windows 8) I checked for ...
0
votes
0answers
22 views

rsync is missing files

I'm trying to get rsync working between Win7/cygwin source and CentOS 7 VM destination. My command: rsync --dry-run -r -a -v -i -h -x --ignore-times --checksum --progress --delete --delete-before ...
2
votes
2answers
47 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 ...
0
votes
1answer
17 views

How to tell ssh not to check authenticity of the connection host?

I regularly have to connect to hosts behind multiple VPN networks and providers, addressed as either 10.0.0.* or 192.168.*. That is, each VPN network is free to reserve either of those ranges when ...
0
votes
0answers
32 views

Raspberry pi: No internet access

I am trying to get internet connection at my university. I have enabled sharing on my wifi settings and connected to the raspberry pi VIA ethernet connection. The IP used for ethernet connection is: ...
0
votes
1answer
45 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: ...
0
votes
0answers
21 views

Setting up a dev environment on amazon AWS to remote desktop or ssh into for development

What I want is to set up a linux box I can then remote desktop (or ssh) into that I can use from anywhere. However I want a bit more than that and I don't know how to go about setting it up. What I ...
0
votes
0answers
30 views

Unable to start libre office from terminal

I need to start libre offices impress via SSH on various raspberry pies, each displaying a set of slides on its own screen. Now my problem is that, when I run loimpress --show file.odp it states ...
0
votes
1answer
7 views

Distribute session-only git configuration on ssh login

I have a bunch of development servers (linux) that I connect to via SSH from linux workstation. On most of these servers I want to use the Git command line interface. I use a set of Git aliases that I ...
0
votes
2answers
24 views

/etc/profile: Permission denied after restarting Amazon EC2

I restarted my Amazon EC2 instance and all of sudden when I log in from SSH via putty I get the error: -bash: /etc/profile: Permission denied -bash: /etc/bashrc: Permission denied Previously I was ...
1
vote
0answers
22 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 ...
-1
votes
1answer
43 views

My mac has been hacked, I get a voice notification every second

My friend who knew my laptop's password has run some script using ssh remote login. Even though I have removed the authorized_keys file. I am still getting this irritating voice notification. He is ...
2
votes
3answers
38 views

How do I set files and directories created as root to be read and executable as another user?

I'm using Cloud9IDE's SSH workspaces, and for a variety of reasons, we are required to create that SSH tunnel as root. This is not really an issue, however the files and directories we are creating ...
0
votes
0answers
16 views

Can't forward ssh port properly on fritzbox 6490

I tried to forward port 8022 to port 22 on my raspberry pi in my fritzbox 6490. Therefore I added the port forwarding rule for udp as well as for tcp. My problem is, I keep getting a timeout error ...
2
votes
3answers
104 views

How can I have very large files/directories copied from one host to another “offline”?

I intend getting a vps server real soon for some of the resource-intensive sites I manage. I live in a country where 1Mb/s internet speed is a luxury and constant uninterrupted electricity, a myth. ...