Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

learn more… | top users | synonyms (2)

0
votes
0answers
8 views

SSH With Windows 10 [on hold]

I have git on my Windows PC setup with a ssh key. I use the CLI on PHPStorm to run my git commands (git push, git pull, etc) and am prompted to enter in the password for the SSH key every time, ...
0
votes
0answers
3 views

scp from remote to local, where is my file? [migrated]

I'm copying (or at least trying) a file from a remote server to my local pc using the following command: scp user@host:/usr/filename.txt / It copies the file, but I have no idea where it is. What ...
2
votes
1answer
25 views

Vim hangs on one specific file?

My putty session keeps on hanging when I'm in the middle of editing a file in vim. This has happened three times this morning. Hopefully it's nothing, just a glitch in the matrix somewhere, but I ...
2
votes
0answers
17 views

CMD inside Cygwin/SSH behaves weirdly in automated commands - uses Cygwin echo instead of built-in CMD echo

We absolutely need to run Windows native commands and .CMD scripts over Cygwin SSH, and they behave very strangely when executed via SSH Exec channel compared to when they run interactively from shell ...
1
vote
0answers
21 views

should I upgrade Freenas security ?

I have a freenas server for almost a year now and this is the 3th time within the month that I've received a security email with allot of failed ssh log in attempts that aren't from me or anyone I ...
0
votes
0answers
13 views

What settings/permissions are required to grant IAM user ssh access to opswork instance?

In opsworks I have imported the user and marked them to have ssh/rdp access. However, I am unable to ssh into the instance once it is up as that user. And when I access the instance as the root user ...
0
votes
0answers
9 views

How do you git archive a branch using gzip with highest compression level?

I'm trying to git archive a branch using gzip with the highest level compression (9) but it seems to not compress at that level. Here is my command: git -C /home/user/example.com/ archive --format ...
0
votes
0answers
10 views

How to blacklist an IP range (subnet) on cphulk via terminal? [on hold]

I know how to blacklist a given ip with /scripts/cphulkdblacklist 192.168.0.1 But that's what I need to do... (not sure if any of these would work) /scripts/cphulkdblacklist 192.168.* .* ...
0
votes
1answer
15 views

How do diagnose laggy X11 applications running via ssh forwarding?

I am running an X11 application on a RHEL machine on my Windows system using Xming and X11 forwarding over SSH. The responsiveness seems terrible. A second between keystrokes and mouse clicks, etc. ...
0
votes
0answers
20 views

How can allow an ssh connection only over vpn

I install OpenVPN on my server following this guide --> https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04 I also setup a firewall with ufw where I add ...
0
votes
3answers
70 views

IP forwarding on Linux

I have three machines Source Machine Destination Machine - IP 10.20.30.40 Intermediate Machine - Host server1.test.com Source machine has SSH access to Intermediate machine and Intermediate machine ...
0
votes
1answer
22 views

Firewall rules for ssh, ftp and webapps

I'm running a small cluster with Centos 7 and want the following rules for firewall. Have ssh access from anywhere (i'm going to further configure that from /etc/ssh/sshd_config) Have ftp access to ...
1
vote
0answers
23 views

Systemd/ssh: Cannot allocate memory

I have a host (Ubuntu 14.04.4 LTS 64 bit, kernel 3.13.0-85-generic) that has a lot of concurrent SSH connections. SSH logins have started to fail recently, and the log says: sshd[26057]: ...
2
votes
1answer
31 views

ssh “incorrect signature” while connecting to server

I have a server that I usually connect to from multiple laptops, some FC22, FC23, or ubuntu. I installed a brand new laptop FC23, added the relevant keys in authorized_keys, etc: [mathieu@xps13 ...
0
votes
1answer
40 views

Is there any way to log entered password from ssh?

My server is under attack and some one try to run brute force attack on my ssh port, I know that I can block the IPs which are illegal,with iptables,fail2ban, ... but I want to know which password ...
-2
votes
0answers
17 views

Not being able to SSH into server, working via WHMCS serial console [on hold]

I'm running a VPS (Ubuntu 15.04) and a simple web page on it. Recently I noticed that the page is not available, so I tried to ssh in to the server. It timed out (Connection timed out) I logged in ...
2
votes
1answer
44 views

Forward SSH to another Host

I have an ubuntu server which is visible from internet, let's call it "jumper". And this server has this name actually because I need that whenever an user SSH this server, it jumps (or forward or ...
1
vote
0answers
23 views

OpenSSH Windows Error

I want to connect with putty from one machine_1 to another Windows machine machine_2. So I install a OpenSSH Server on machine_2. I generate 2 a key pair with puttygen. I paste the public key in ...
1
vote
1answer
21 views

how to configure `sshd_config` so fail2ban can see bots

I've updated my sshd_config to be more strict against bots. namely: only keys are allowed, except for a few specified users on specific ips MaxAuthTries = 1 no root login This has been both good ...
1
vote
2answers
43 views

ssh enter passphrase one line

I want to execute a command via ssh but my server is using passphrase, I want to make one-line only without asking passphrase. ~# ssh -t root@dev5 'echo "tes" ; bash' Enter passphrase for key ...
-1
votes
0answers
32 views

Automated SSH script locked out

I SSH from my Macbook into a linux server with an automated macro util, and on 3 occasions in the last year it has not accepted my password. In those instances I used the host's provider's console to ...
0
votes
0answers
21 views

Remote port forwarding via ssh tunnel fails

I am trying to do some remote port forwarding via a ssh tunnel on my NAS (NAS4Free running FreeBSD), which is behind a firewall. I have added gateway_enable="YES" in /etc/rc.conf and also ...
0
votes
2answers
32 views

Tool for diagnosis/proof of network connectivity issues

I am in a shared workspace and am trying to communicate the issues I am having with the internet performance to the workspace provider. The main issue I have other than slowness is momentary ...
-2
votes
0answers
24 views

how to set date from the main centos server to all remote server using bash scripts

h! Actually i want to set date from the main centos server to all remote servers simultaneously and no any date on remote server might be different with the help of bash script. In short getting ...
2
votes
1answer
46 views

How can I set the root password in a docker container from a script?

I have a script that runs on the host and creates/starts/stops a docker container. I'd like the script to change the password of the root user within the container. Since the container is an ssh ...
2
votes
1answer
49 views

Debian : SSH port attack continues, cannot change port coz of provider, suggestions?

We have a debian server, which is running our Tomcat hosted applications and we have installed Fail2Ban on it. Everyday morning I see that a lot of people on the internet try to attack the server. ...
0
votes
0answers
28 views

Can access server via SSH/FTP but other protocols won't work

I followed this guide to setup an "Upside-Down Ternet." Everything was fine up until the part where I configured IPTABLES then I lost SSH connection. Now I expected that because I'm messing with ...
2
votes
0answers
34 views

Can't find users logged in with notty via the who command

I was curious if anyone had any ideas why when I run who and who --all, I still cannot see users logged in under notty? See below: [cbennett@lstn ~]$ who --all system boot 2016-04-25 ...
-1
votes
1answer
15 views

Setting up an ssh authentication server

I have some 30 Media Temple grid servers and I need to manage the access of 15 or so developers to those servers. Is it possible, and more importantly secure, to setup a server who's only job is to ...
-1
votes
0answers
12 views

ssh connection to mft server using bitvise

I have install bitvise server and am trying from the workstation to connect to a dedicated managed file transfer server using ssh connection to upload a file. MFT server accept ssh connections. I need ...
0
votes
1answer
43 views

Remote SSH Tunnel external access

I've setup a remote ssh tunnel from my Raspberry Pi, which is behind a NAT, to my vServer using the follow command: ssh -ngNTfR 62.75.145.118:2209:localhost:22 root@unkn0wn3d.com 62.75.145.118 is ...
0
votes
1answer
18 views

Which ssh starup script is invoked by ubuntu?

I am trying to run two sshd processes, one for admin and one for sftp. Ubuntu 14.04 on digital ocean has both upstart in '/etc/init/ssh' and init.d in '/etc/init.d/ssh`. Is this just digitalocean or ...
0
votes
0answers
6 views

ssh X11 forwarding [migrated]

I am trying to connect ssh from my laptop to my raspberri pi 3b locally. However when I try to connect by: ssh -v user@local-raspberri-IP it gets stuck at X11 forwarding. The output that I get is: ...
1
vote
1answer
28 views

SSH'ing with force pseudo-tty allocation doesn't print my MOTD

I know that -t option in ssh allocate pseudo-tty. I'm using -t to "jump" to different directory on login, something like this: ssh -t my-server "cd /path/to/my/directory; bash --login". Why if I log ...
3
votes
1answer
23 views

copying files over multiple ssh tunnels

I have an awkward situation in which I need to link to a machine through multiple tunnels. Details why below, but this command works for sshing in to server2: ssh -A -t username1@portal1.host1.org ...
0
votes
0answers
23 views

Webserver always too slow in AWS EC2 instance

I started a simple python server on port 4444 in one of my ec2 instance.and tried to access it by curl. It takes more than 5 seconds for server to respond. Below is the tcpdump output on port 4444 ...
1
vote
0answers
14 views

Why my profile looks for /usr/local/etc/profile.global (NIS)

My Ubuntu ID is manged by NIS/yellowpage. For some reason, when I log in, I'm getting this message. cat@local:~$ ssh catserver cat@catserver's password: Welcome to Ubuntu 15.10 (GNU/Linux ...
1
vote
0answers
56 views

Periodical changes in Remote Host Identification (SSH) on CentOS 6

I have this following error when I tried to connect using SSH: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ ...
-1
votes
0answers
18 views

SSH Hangs on “Entering interactive session” stage

I built an image with yocto project for Banana Pro board.I am trying to connect port via ssh but I can't. Ssh always hangs on "Entering interactive session" stage.When I run ssh command with -v ...
2
votes
2answers
25 views

How much protection is provided for my remote centos vps by using certificate-only root login

I have two leased centos servers, one to run mysql for backends to the web and mail server on the other, as well as data from my android apps. I am only planning to give access to the data server if ...
0
votes
0answers
8 views

Was my server being SSH brute-forced? [migrated]

Right, so I noticed my internet speed slowed to a crawl. I restarted my home Ubuntu server and the speed immediately increased. So I checked the active network connections with netstat -tupn and ...
6
votes
0answers
77 views

SFTP server: better to use SSH internal sftp subsystem or ProFTPD plugin?

I've been tasked to install a new SFTP server. Per-se, this is a very simple operation: simply using the internal-sftp role of the ubiquitous SSH service (with chrooting) is sufficient to have a ...
2
votes
1answer
21 views

How to define SSH port for target server with znapzendsetup

I have a firewalled server to send data to over ssh on public network, but the SSH port is not the default 22. How do I configure the port to znapzendzetup? For mbuffer setting the port is not an ...
1
vote
1answer
29 views

Google Cloud Platform: ssh from VM_1 in project_A to VM_2 in project_B

I am trying to connect virtual machine VM_1 in project_A to virtual machine VM_2 in project_B. Bot are on Debian Linux. Steps I did: On VM_1 Project_A Generated private and public keys ssh-keygen ...
1
vote
1answer
21 views

ssh and scp redirects to my own server

recently I've installed a new server, and got a lot of problems with the ssh access. Now, when I try to scp from server A ( old, Debian 7.1 ) to B ( new, Debian 7.1 ), or when I try to ssh from A to ...
0
votes
1answer
63 views

Can't establish SSH connection even on localhost

Having problems getting a simple SSH connection to even localhost on my Ubuntu 15.10. Server was set up many months ago and was able to create access for SSH with keys, but cannot duplicate that ...
1
vote
1answer
220 views

OpenSSH adds <IPv6>%2 to known_hosts

When I connect to a CentOS 7 host with IPv6 my ssh client always adds <IPv6 host addr>%2 to known_hosts even though the host key for this host (with the host's IPv6 address) is already present ...
-4
votes
3answers
160 views

How can I copy a file from Linux to Windows using ssh commands [closed]

I have a ftp server on my Windows server and a Linux VM running on hyper-v, as a part of automation I need to copy a file from Linux to Windows and do some other task using the information from the ...
0
votes
0answers
4 views

Permission denied when accessing SSH server [migrated]

So, a little background. I'm trying to host my own git server, and I decided to use SSH to log into it. I started two days ago, trying to configure SSH, to no avail. I'm hosting the server on my home ...
0
votes
1answer
25 views

Is it possible to prevent, or at least detect, SSH session re-use?

I have been taking advantage of session reuse to speed up my connections to various production servers by setting up my ~/.ssh/config file like so: Host server.company.org ControlMaster auto ...