Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

learn more… | top users | synonyms

3
votes
1answer
70 views

Add user to SSH group safe?

I want to control who can log in via SSH on my server. Is it safe to add the group 'ssh' to the users who are allowed to login in? I see some distros use system groups in the user's ID and others ...
0
votes
1answer
80 views

Steps to connect to server via SSH behind modem and router?

I've set up a home server (running Arch Linux). It doesn't have a WiFi adapter and my router is too far away for a cable (I plan to change this sometime soon). So I've connected an ethernet cable to ...
0
votes
1answer
52 views

SSH server over shared internet connection (linux/Windows)

I am trying to get a working SSH server on my linux computer (ubuntu 14). Let's call this computer "Ubuntu". Ubuntu is connected to the internet through a shared internet connection from my Windows ...
0
votes
2answers
185 views

Does windows 10 have SSH already?

I was trying to find out if I can use SSH in windows 10, there are many aricles from early this year saying windows 10 was going to include SSH in powershell, but I still can't use it in my windows ...
0
votes
2answers
31 views

chmod operation not permitted on /var/www/ SSH raspbian

I am trying to setup a simple Apache web server over SSH in Raspbian but cannot obtain access to /var/www. I have tried these commands to obtain write permission: sudo chown -R www-data:www-data ...
1
vote
1answer
23 views

Restricting ssh access to server within a kerberos/ldap infrastructure

I have a MIT-Kerberos / OpenLDAP infrastructure. I want to limit the ssh-access for my users, so that only members of a specific group are allowed to ssh to my servers. When I just had OpenLDAP ...
3
votes
0answers
40 views

Why would it be faster to hop SSH with pseudo-tty versus forwarding?

I have noticed that on my office's network, multi-hop SSH connections using the "pseudo-tty" method perform better (see last note) than using the "forwarding" method. Why would this be the case? In ...
1
vote
0answers
64 views

How do I remote SSH into an IPv6 address behind a router firewall?

I have this fancy new ubuntu server I just built assembled, and I'm trying to set up ssh from anywhere so I can keep it headless. I've been able to set it up locally, and as long as I'm on the ...
0
votes
0answers
41 views

ssh X11 forwarding not working, Can't open display: localhost:11.0

This is a very strange error, I have enabled AllowX11Forwarding on the server side, and I can get a DISPLAY='localhost:11.0' after ssh into the server. However, whenever I need to do some X function, ...
1
vote
2answers
87 views

Setup sshd to start at boot on OSX El Capitan

I have a setup where I have an OSX machine as a server. OS is OSX El Capitan. One of the services it needs to have is sshd. The problem I am trying to solve is that when ever I reboot, I need to ...
0
votes
0answers
35 views

Can ssh internally, but can't externally: port 22: connection refused

I'm trying to connect to the my Raspberry Pi over SSH. I'm able to do it internally (ssh user@raspberrypi), but when I try to connect externally (over public IP) it says: port 22: Connection ...
0
votes
1answer
13 views

SSH-agent not loading when remotely accessing the machine

I have this user account that I have correctly configured to manage my keys to ssh to other instances. When I sit in front of the machine my configuration works as described in my ~/.ssh/config ...
0
votes
1answer
38 views

Synology Diskstation has two ssh ports after changing standart port on DSM 5

I was trying to change the standard ssh port on my Diskstation, running DSM 5, by editing those two files: /etc/ssh/sshd_config /etc.defaults/ssh/sshd_config and uncommenting and changing the line ...
1
vote
0answers
52 views

What is 'Found' in Fail2Ban Log File?

I have multiple instances like the following in /var/log/fail2ban.log: 2015-12-27 14:31:21,949 fail2ban.filter [1020]: INFO [sshd] Found ###.###.###.### (Where # substitutes for a ...
0
votes
1answer
26 views

Weird ssh key fingerprint .lan

After generating a new rsa ssh key with passphrase using Terminal and ssh-keygen on Mac OSX El Capitan, I get the following message (personal info redacted: The key fingerprint is: ...
-1
votes
1answer
29 views

Connect with ssh to your localhost

$ l total 24K drwxr-x--- 2 maik users 4.0K Dec 28 11:19 . drwxr-x--- 38 maik users 4.0K Dec 28 11:22 .. -rw-r--r-- 1 maik users 392 Dec 28 11:18 authorized_keys -rw------- 1 maik users 1.8K Dec 28 ...
1
vote
1answer
13 views

Supress environment message after logging into server?

After logging into an OpenSSH server from OS X, the following message is printed: Last login: Sun Dec 27 15:47:12 2015 from 172.16.4.4 Environment: USER=jdoe LOGNAME=jdoe HOME=/Users/jdoe ...
1
vote
0answers
47 views

Why can I access the internet in a browser but not the terminal?

I can browse the internet using Chrome and Safari, but when I use the terminal, I can not. When I try to ssh in the terminal, I get "request timed out" and when I try to ping I get "3 packets ...
3
votes
1answer
31 views

ssh force tty return extra non-printable character

I know ^M will show up when ssh -t, ref1, but I don't catch the situation when ssh -t into Centos 7.2(even Centos 6.2 is OK, but no difference between their environment vars). Anyone know about this? ...
0
votes
0answers
41 views

Can't run command using OpenSSH on Windows

I've just installed Win32-OpenSSH (from github) on Windows Server 2008 R2. It's up and running. Now I'm trying to connect from another host. The connection is established but I can't send commands. ...
1
vote
1answer
19 views

Automatically kill tmux session on session end?

I have the following snippet in my .bashrc which starts tmux whenever I'm at the command line: # Start inside tmux if [[ $(command -v tmux) ]] && [[ -z $TMUX ]] && [[ $TERM != ...
1
vote
1answer
45 views

How to use different services (ftp, vpn) if all ports are blocked except 80 and 443

Unfortunately the sysadmin blocked all ports in my network except 80 and 443 so just the browser works properly. Previously I've used VPN, (S)FTP, SSH to work remotely. Now I cannot do that. Could ...
0
votes
0answers
21 views

rsync dry run not showing differences

I'm copying some directories between 2 remote servers (using FileZilla). To make sure everything had copied correctly, I wanted to use rsync to make sure there were no differences. FileZilla had ...
1
vote
2answers
53 views

How can rsync fail due to missing permissions if remote login occurs with root?

I can't think of any reason why the transfer of a simple file with rsync -e 'ssh -p 19' -vvv /path/to/file root@192.168.179.3: fails with opening connection using: ssh -p 19 -l root 192.168.179.3 ...
0
votes
1answer
31 views

Not able to login by PuTTY Network Error

I have reset the user ("sftuser"), after that I am unable to login to the server, its throwing an error when logging in using putty: PuTTY Network Error: Software caused connection abort I am ...
0
votes
1answer
53 views

How to make a new SSH user for linux which will allow the user to access only that folder and cannot go back to other folders [duplicate]

How can i make a new SSH user for linux (Ubuntu) which will allow the user only to access that folder and not to go back to other folder, I have searched many tutorials/support for this but those all ...
1
vote
0answers
55 views

git on windows 10 - ssh - bad passphrase

So i tried to set up another remote repository on my machine and have to add the ssh-key to the ssh-agent. I checked the passphrase of the key with Puttygen, so i don't have a typo in the phrase. I ...
1
vote
0answers
38 views

Another case of PuTTY: Software caused connnection abort

I am using my girlfriend's Windows 8 machine and trying to access a remote machine using ssh. Earlier today PuTTY was working fine, but then I uninstalled some programs that my girlfriend said she ...
0
votes
0answers
22 views

curl -X POST not working properly?

Here's what I'm running as a test and it is working: curl -X POST http://zone-h.org/notify When I run that, I get the HTML of the page returned. However, when I run this, it isn't returning the ...
0
votes
0answers
28 views

ssh-copy-id not working on specific server

I have a server running Ubuntu. I'm not able to grant access to any client using ssh-copy-id: This is part of the sshd_config file in the server RSAAuthentication yes PubkeyAuthentication yes ...
3
votes
1answer
186 views

SSH DSA keys no longer work for password-less authentication

After upgrading to Fedora 23, passwordless (public-key-based) authentication no longer works in SSH: when trying to SSH to some host, it prompts for my password at the remote host. I can't get it to ...
1
vote
0answers
25 views

putty- connection error network timeout just for first try

I use Putty application for SSH. When I try to remote connection to my server, "ONLY FIRST CONNECTION TRY" failed to connect with "connection timeout" message. And one more try, connection is done. ...
0
votes
0answers
28 views

Reboot frozen remote Mac

I have a remote frozen Mac I need to reboot. I can see it's online through Teamviewer but it's not responding. This is what I have to work with: Admin user+password, Public IP address, It appears ...
1
vote
1answer
27 views

Download the output of a command line program using PuTTy/WinSCP [duplicate]

I have ssh-access to a linux server. My account is running out of free space and I am forced to remove some data from the server. I would love to download my mysql database (and delete if afterwards) ...
0
votes
0answers
53 views

Can't ping google. Can wget. Can't ssh out. Can ssh in. Raspberry Pi

After setting up my Raspberry Pi with my RTL8188CUS wifi dongle and configuring my wpa.supplicant and /etc/network/interfaces, I ended up with a peculiar set of network symptoms. From my Raspberry ...
0
votes
1answer
28 views

Confused about Putty colors - Centos 7

So I am using nginx as my server if that helps at all. I also use Putty as my connection manager as well. So while setting up domains here and there under nginx, there seems to be a difference in ...
0
votes
0answers
26 views

Macbook small "s” key doesn't work after opening a ssh session in terminal

I have a strange situation with my MacBook. When I open a terminal window, the "S" key works as expected. When I open a ssh session within the terminal window the small "s" key doesn't work. The ...
1
vote
0answers
12 views

Multi-page output :: text select with tmux over ssh

I have a local terminal within tmux. Now I connect to a remote server via SSH and run some command piped to less. With tmux I can easily select part or the entire screen, however I can not select text ...
0
votes
1answer
53 views

SshDroid SCP: connection refused

I'm trying to copy some files from my PC to my android device, yet I'm having trouble with the transfer. I connected easily using SSHDroid app, but scp returns ssh: Exited : Error connecting : ...
0
votes
1answer
34 views

How to mount a HDD on PC via SSH?

I'm working from home for a while and would like to mount the other HDD on my work PC (Ubuntu 14.04). But I haven't found the correct command. I have tried: Disk /dev/sda: 512.1 GB, 512110190592 ...
0
votes
1answer
20 views

network old mac to use as rsync backup

The goal: Be able to run my rsync backup on my local machine "X" (Ubuntu 13.1) to a remote machine, a currently un-networked mac "Y" (OSX 10.2.8). What I've done so far: Flew to the old mac ...
0
votes
1answer
32 views

ssh reverse shell permission issues

I'm taking part in a Capture the Flag (CTF) and I'm using Kali. I have access to a server (Server 1) via another server (Server 0) through which I pivoted. Now I'm tasked with setting up a reverse ...
0
votes
0answers
15 views

Can't access command line of Raspbmc/Debian on boot by pressing ESC

I can't get to the command line by hitting Esc on reboot when prompted. Kodi version from the settings screen is "Compiled: Feb 2 2015)". I can't SSH in because my RPi isn't getting DHCP renewed on ...
0
votes
0answers
14 views

Process running in SSH-allocated TTY not terminating once stdin is consumed

I can perform file-transfer via SSH* like this: ssh -T ${HOST} eval "cat > remote.txt" < local.txt However, if I instead allocate a TTY, it hangs until I press Ctrl+C: ssh -tt ${HOST} eval ...
0
votes
1answer
140 views

Back to my Mac SSH Timing out, Mac OSX 10.11.1 (El Capitan)

I am trying to remotely SSH to my mac using back to my mac with the following command: ssh crut@Rut-Server.123456789.members.btmm.icloud.com *with 123456789 replaced with my icloud account number ...
0
votes
1answer
15 views

MOTD shows output from previous session?

I have a custom MOTD that I see every time I login with ssh. The MOTD shows various stats and system info. I recently noticed the info is incorrect. Actually it is correct, just not for the current ...
1
vote
1answer
50 views

SFTP: Connection closed

I'm trying to connect via sftp to my Synology NAS 215j running sftp server. The sshd works great for root user, but when I do sftp as root, I'm getting Connection closed just after typing correct ...
0
votes
0answers
70 views

how to make non-root user to ssh using key instead of password?

I've recently purchased the Synology NAS 215j and having problems with SSH. Root user works as expected I've added my public key to /root/.ssh/authorized_keys... Problems with non-root user: sshd ...
2
votes
1answer
33 views

Setting up ssh tunnel in Putty

I have instructions for setting up a proxy tunnel to a work computer behind a firewall. The setup is: | [home]--------[outside]-|-[inside] | The ...
0
votes
1answer
52 views

deny ssh from all except 1 IP and allow root from everything

I was able to deny ssh to my server from all ip addresses except 1 by entering sshd: all in /etc/hosts.deny and sshd: x.x.x.x in /etc/hosts.allow (ip hidden) but I want to add an exception ...