Questions tagged [ssh]

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.

Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for Telnet and other insecure remote shells, which send information, notably passwords, in plaintext, rendering them susceptible to packet analysis.

It's important to note that there are two versions of SSH (1 and 2), and that version 1 is no longer considered secure, and should be replaced by version 2 where ever possible.

More information, including the more notable SSH-1 vulnerabilities, can be found at the Wikipedia page for SSH.

8868 questions
4
votes
2 answers

Can't start Java, error: Could not reserve enough space for object heap

I'm trying to get Solr up and running. At first I had the JDK.1.6 working fine, then tomcat running fine too. All of a sudden when trying to run Solr for the first time however I get the error message: [root@78 bin]# ./java -version Error occurred…
bluedaniel
  • 37
  • 1
  • 3
4
votes
1 answer

How to prevent Git client hanging during post-receive hook

I have a Git repository that contains a collection of config files and python scripts. On the server repository, I have a post-receive hook that will: checkout the master branch, setup a python virtualenv, install the pip requirements, and run…
user233054
4
votes
1 answer

Amazon AWS localhost error: channel 3: open failed: connect failed: Connection refused

I have just made an AWS ubuntu instance with a private key. I managed to connect to it through ssh, but I can't connect to it in web browser with localhost. I'm connecting through a windows computer and I want to connect to a ubuntu instance…
Gabriel Petersson
  • 141
  • 1
  • 1
  • 4
4
votes
1 answer

updating SSH version 7.4pl to 7.5 on Amazon linux 2

I got one error while scanning My Amazon linux 2 Ec2 instance OpenSSH < 7.5 22 / tcp / ssh Medium 5.0 The vulnerability is not included in the NVD OpenSSH < 7.6 22 / tcp / ssh CVE-2017-15906 Medium 5.0 Patch Report 0 / tcp / but there is no update…
user3789039
  • 89
  • 1
  • 7
4
votes
1 answer

SSH using domain name from internal network

I have a home server running Ubuntu 18.04 that hosts some private services. For access from the outside world, I have a domain that points through my router at my home server. This way I can access webservices, as well as SSH from anywhere, which…
erik
  • 151
  • 1
  • 3
4
votes
5 answers

Google Cloud Services - unable to SSH into instance at all

I am unable to SSH into my instance on the Google Cloud Services. I am not very well versed in VM management and troubleshooting, but have tried everything I knew, and google could provide to me including: Attempting to SSH from an external…
4
votes
6 answers

How to download a file on a server you've already ssh'ed into?

I know how to use scp or wget to download a file on a remote server to my local machine. However, if I'm already logged into a server with ssh, is there a command that lets me download a file in the pwd on the server onto my local machine? I…
Wilhelm
  • 153
  • 2
  • 6
4
votes
2 answers

Ansible Playbook running locally but unable to ssh to host via AWX

SUMMARY I have ansible and ansible AWX installed on same AWS EC2 instance and I am trying to deploy build on another app AWS EC2 instance. I am able to run the playbook via ansible-playbook command,however, get Failed to connect to the host via ssh…
Sandeep Dharembra
  • 106
  • 1
  • 1
  • 7
4
votes
1 answer

Allow SSH Reverse Tunneling (-R), but not Local Forwarding (-L)?

We have a customer with a remote server who wants to restrict times we can access the server (most customers we have on-demand access initiated locally). I'm setting up a script for them so they can just kick it off and it will SSH to our side with…
UtahJarhead
  • 928
  • 7
  • 14
4
votes
3 answers

AWS Instance Password lost after Login

As the title suggested I have lost my Linux Instance password. I have already accessed it via putty and it's ppk key. But I don't remember the password of system. Is there any another way to access the system again?
Shreeya
  • 63
  • 1
  • 9
4
votes
1 answer

How can sshd be configured to have high CPU priority

When a server is overloaded, what is a way under systemd to give ssh a high priority to ensure a remote ssh connection gets a priority to resolve the critical situation?
danblack
  • 1,249
  • 13
  • 15
4
votes
1 answer

Remote port forwarding on SSH server to access internal application server

I am trying to figure out SSH port forwarding and have not found success from looking at different questions and tutorials, it seems that everything I have seen is just a little different than my situation and I can't quite figure out how to apply…
Jtt3mr
  • 43
  • 1
  • 3
4
votes
1 answer

Docker + Ansible + google-compute-engine debian packages - a confusing story

Dear fellow Server Faulters! I have stumbled upon a problem that confuses me A LOT and you are my only help! Long story short: 1. I have a set of ansible playbooks to configure servers 2. These playbooks are tested and verified against Google Cloud…
4
votes
5 answers

Grokking sophisticated dictionary attack

It appears that one of my servers is undergoing a sophisticated dictionary attack on ssh, in that I am seeing a bunch of usernames being tried on on of my servers alphabetically with password failures. The unusual things about this are: There is…
Brent
  • 22,857
  • 19
  • 70
  • 102
4
votes
2 answers

Google Console SSH from the Browser will not connect

I have this VM instance in Google Console. The instance was created in project within another organization, then assigned to my email address. I was assigned all admin related roles in IAM I tried to access the instance directly via Browser and…