Questions tagged [ssh]
Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.
10,639
questions
1
vote
0
answers
493
views
How do I prevent all terminals crashing in Mac OS Sierra?
I usually have multiple terminal windows open, with most of them either ssh'ed into an Ubuntu session or running emacs.
In one of the ssh sessions, I was reattaching a screen (the screen was running ...
1
vote
1
answer
18k
views
Network Error: Software caused connection abort [duplicate]
I have Windows 10 as host O/S and Redhat-7 as guest O/S. Everything was working fine but one day I face error Network Error: Software caused connection abort. I have used bridged mode for the guest OS ...
1
vote
2
answers
5k
views
Sublime Text terminal control
I'm using Sublime Text 3 for editing my code on a remote server. I use sshfs to mount a directory from the server on my computer and make my changes using my local Sublime Text. Then I usually build ...
1
vote
2
answers
16k
views
How to open port via SSH tunnel?
There is a system B with the following open servers: I have a web server listening on port 80 and a ssh server listening on 22. However, only port 22 is publicly available. Now, I would like to create ...
0
votes
0
answers
135
views
SSH tunnel from local machine to remote server
I have SSH access to aus-ssh. I want to connect from indo-client to aus-ssh on port 9090, knowing that all traffic will be sent to aus-remote in port 80 (and then the same thing again for port 443).
...
0
votes
1
answer
742
views
SSH Config Not Working As Expected
I normally connect to a seedbox like so:
ssh -D 20000 <user>@<host>
It then prompts me for a password:
<user>@<host>'s password:
Pretty standard stuff. So I set my ~/.ssh/...
0
votes
1
answer
285
views
ssh into a machine and search for process, kill using xargs
I am doing this,
[email protected] ~> ssh <machine> jps | gawk '$2 == "<process>" {print $1}' | xargs kill
kill: sending signal to 75797 failed: No such process
guastest@iridium06....
0
votes
2
answers
6k
views
(Windows 10) PuTTY - something blocks port tunnel
I'm stuck and don't know why the port tunnel doesn't work on Windows with PuTTY.
I have established an SSH connection with the following port forwarding 8000:localhost:80:
On the remote host, I ...
5
votes
1
answer
3k
views
Close ssh tunnel without root and without killing all other ssh connections
I have an ssh tunnel listening on a local port, say 8888, opened from a remote machine with ssh -R 8888:localhost:80 myuser@myhost. I need to write a script for "myuser" on "myhost" that will close ...
78
votes
5
answers
160k
views
Bad owner or permissions on ssh config file
I have realized that I am no longer able to connect to the webserver at x.x.202.50. Yesterday I have changed the following ssh configuration file: /share/homes/admin/.ssh/config by adding the ...
1
vote
2
answers
4k
views
Can I disable SSH Server on a desktop computer (Debian) without impact?
I do have an SSH Server listening on my desktop computer (Debian). From the auth.log I got for example:
sshd[808]: Server listening on 0.0.0.0 port 22.
My question is: Is it safe to disable SSH ...
4
votes
4
answers
10k
views
Is there a client side work-around for a too-short auto logout from an SSH connection?
I SSH from one Linux host to another Linux host that I don't administer. Its /etc/ssh/sshd_config is apparently configured to auto-logout after an interval of inactivity that is too brief for my ...
2
votes
2
answers
9k
views
SOCKS5 proxy with username and password – ssh: could not resolve hostname, temporary failure in name resolution
I am quite new to SSH and Ubuntu. I am trying to connect to a server (e.g. server1.com) via SOCKS5 proxy host (e.g. proxy1.com) for which username and password is already given. I am including the ...
5
votes
1
answer
25k
views
How to enabled SSHD logging in “sshd_conf?”
Having the following sshd_conf file, how to enable server activity logging? What is the default place for sshd logs?
# $OpenBSD: sshd_config,v 1.98 2016/02/17 05:29:04 djm Exp $
# This is the sshd ...
11
votes
1
answer
18k
views
Using tmux - scrolling via ssh
Instead of ssh-ing from many terminal windows to a remote server, I deceded to start using tmux via one single ssh connection. There are things I cant seem to get working though.
The most important ...
0
votes
1
answer
647
views
git ssh doesn't work but Authentication succeeded
I configured a local ssh server by Bitvise SSH.It was working fine.
Later I bought a new router,changed the LAN setting a litter bit.
The debug log is below.Not sure what's going wrong.Thanks for help....
3
votes
2
answers
9k
views
SSH Unsupported KEX algorithm 3des-cbc?
I'm trying to SSH into one IP (I don't have access to that device, so can't modify anything from the other side). ~/ssh/config file:
Host {HIDDEN}
KexAlgorithms +diffie-hellman-group1-sha1
...
3
votes
1
answer
2k
views
GitHub SSH connection hangs
macOS Sierra 10.12.5. SSH keys are set up correctly. ssh -T -vvv [email protected] shows that I cannot connect to GitHub via SSH at all:
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /...
1
vote
2
answers
279
views
Warn user when connecting to production server SSH login
I have 3 aws environments running ubuntu 14.4. I am devops so I have root access to every server. One time I logged into live instance instead of staging instance because of Ctrl+R and instance name ...
0
votes
1
answer
1k
views
How to automatically pass a command after ssh login to a linux server
I use a tool called winsshterm... its basically a wrapper for Putty. I would like to know how to pass a command as soon as I Ssh to a linux server. my immediate home directory is: /home/myusername
...
1
vote
2
answers
258
views
Modem is Not Seeing Router -- Breaks port forward
I have a baffling issue.
I have a remote client site using Spectrum Business as their ISP, with a static WAN IP.
Currently using some Ubee modem, don't know the model. The Ubee modem is in bridge mode ...
0
votes
2
answers
2k
views
Nested ssh tunnels
I want to connect to the port of a server through another server.
mypc --> host 1 port 1431--> final host port 8080
But to connect to the first server, I have to send my credentials, and to ...
0
votes
1
answer
2k
views
SSH not working on first attempt
We are having an issue with some of our Linux CentOS machines whereby SSH won't connect on the first attempt. If you start a session, wait 5 seconds then restart the session it works fine and ...
0
votes
1
answer
327
views
ssh non-transparent jumphost
This seems basic thing but I'm not able to find solution which completely satisfies.
Client ssh ---> Server A ssh ----> Server B
It is of course easy to do by typing commands while you login first ...
1
vote
1
answer
4k
views
sending an http request over ssh server
i have my data residing on an SSH server and i want to inquire and retrieve the data via HTTP POST and GET requests. i have been trying to do that using the simple url's http://127.0.0.1:9200/_search? ...
0
votes
2
answers
673
views
Synology NAS - SSHD
I think I did a really bad thing. I tried for several hours to get the SSH login without password working – it would not work for some reason. I changed the permissions of my home folder, added the ...
3
votes
1
answer
5k
views
Raspberry Pi bluetooth tether to android phone for internet
I want to tether my Android phone to my raspberry pi to share Wi-Fi connection between them so I can easily open an ssh on my phone from the Pi. I got Bluetooth paired, my phone is set to share ...
0
votes
1
answer
1k
views
SSH with nologin user using ssh_config
I'd like to connect from node A to C but would like to switch to a nologin user at the same time. In ssh config I have:
Host B
Hostname bb
User a
ForwardX11 yes
ForwardX11Trusted yes
...
1
vote
1
answer
457
views
Launch or reattach a split GNU-screen, with each pane running its own command?
I want to be able to launch a command, like ./stats.sh, to open a screen (Or tmux, or whatever else if need be) that is either reattached if it already exists - or launched if it doesn't, running say, ...
18
votes
1
answer
13k
views
What's this error in SSH on Windows Subsystem for Linux? setsockopt IPV6_TCLASS 16: Operation not permitted
I am using Windows Subsystem for Linux. When I login to my home server using SSH, I first get the following error
setsockopt IPV6_TCLASS 16: Operation not permitted:
and then everything works as ...
0
votes
1
answer
188
views
Login to a host behind a gateway in Netbeans
I want to work on a large project set up on a remote machine behind a gateway:
e.g:
First I login with [email protected]
This is the gateway and the actual machine I have my project is say,
...
0
votes
1
answer
268
views
File transfer over VPN on VirtualBox
I'm accessing a computer inside a VPN via SSH. This access is being done through a VM.
If I wanted to do file transfer and was in an actual machine inside the network I would do rsync from/path/...
0
votes
0
answers
536
views
SSH public Key Authentification still ask for Password with public key
I have two servers, one is local and one is on the web. I want to synchronize with a crontab job (crontab -e) every day at 4:00 AM between two folders on those servers. I'd like to use Unison with a ...
1
vote
1
answer
2k
views
BitviseSSH "The public key supplied has been verified;requesting signature."
The key pair has been generated, the known_hosts and the authorized_keys has also been modified.The debug log show below.
$ ssh [email protected] -v
OpenSSH_7.3p1, OpenSSL 1.0.2k 26 Jan 2017
...
0
votes
1
answer
80
views
How can I execute a script on my dedicate server
I own a server (ftp.xxxxx.com) and i want to execute a script that sort files into directories. Here i am:
I write a simple script (script.py) that create a directorie and put in on my server (with ...
0
votes
1
answer
1k
views
Why is MBP 10.12 using an ECDSA key instead of my RSA key?
This question might belong to the Ask Different community but I'll ask here since this is more of a unix question.
I'm using a MBP running OSX 10.12.4. In my terminal window, when I ssh to localhost,...
0
votes
2
answers
2k
views
PuTTY SSH Tunneling not working on Linux
I am running a server on Debian which has Webmin installed on there, which is not running the default port.
I've recently installed Linux Mint, replacing Windows.
When I had Windows I used PuTTY to ...
0
votes
1
answer
2k
views
SSH over VPN confusion
I have a small question that I haven't really figured out.
I have a Raspberry Pi in the dorm room of my university to which I want SSH access to (or, better said, VNC connection but that shouldn't ...
2
votes
1
answer
1k
views
Is deleting sshd.log file safe?
Recently I started running out of space in my computer and I notice there is a file in the path C:\openssh\OpenSSH-Win64\sshd.log that is almost 19GB in size.
Is it safe to delete this file? and does ...
0
votes
1
answer
123
views
SSH reverse tunnel blocked second time
I have an orangepi zero with an umts stick. Now I want to make a reverse tunnel to my vhost.
[Unit]
Description=UMTS Reverse SSH Service
ConditionPathExists=|/usr/bin
After=network.target
[Service]
...
0
votes
1
answer
1k
views
VNC with localhost, through ssh tunnel using plink.exe
I have a remote computer that I would like to VNC to. This computer can only be accessed through a tunnel. For security reasons, I would like to setup the VNC as a localhost.
On my client PC I run ...
4
votes
0
answers
2k
views
Unable to ssh into my linux machine behind a router from outside the network
We are about to deploy some of the gateway devices (Raspberrypi) in the field. Although we are trying to make them so robust that we should not be required to remotely access them but as this is one ...
1
vote
0
answers
260
views
Port forwarding for SSH and VNC for a PC behind a Linux gateway Sharing Internet
I'm sharing my WiFi Internet connection through my Linux (Arch or Ubuntu) PC using the Gui interface to the ethernet port to a switch. wlp2s0 and enp5s0 are the two interfaces, wifi and ethernet.
...
0
votes
2
answers
2k
views
How To Figure Out What Lives At An IP Address [duplicate]
Got a weird one here.
I've got an IP address in my subnet that is alive and responds to ping requests, but I can't figure out what device actually live at that address. I've tried a couple of IP ...
1
vote
2
answers
2k
views
PuTTY not showing /etc/nologin message
I have blocked non-root access to a Scientific Linux server by setting /etc/nologin. When I try to log in from a Linux terminal, the contents of the /etc/nologin are displayed, as expected. However, ...
5
votes
1
answer
6k
views
How can I add more ciphers in SSH?
I want to add more international standard ciphers like in example Camellia or Gost
Now I only have the AES and Arcfour in my Debian 7 with OpenSSH_6.0p1:
# sshd -T | grep "\(ciphers\)"
ciphers ...
1
vote
1
answer
1k
views
ssh command doesn't source export envvars
I have a remote bash script (in /home/web/web/scripts/setenv.sh) in charge of exporting environment variables:
#!/bin/bash
export [email protected]
On a local machine, ...
0
votes
0
answers
502
views
Offending Key for IP when connecting to aws server in ubuntu
Message pops up when i connect to my ec2 machine
Offending key for IP in /home/myuser/.ssh/known_hosts:8
Matching host key in /home/myuser/.ssh/known_hosts:24
Please help me to resolve it
1
vote
2
answers
4k
views
can't login ssh without password
I set my ssh-public-key in authorized_keys.
Note: The same key has worked in another server
and then set
authorized_keys 0644
.ssh 0600
Is there anything I need to do ?
These are the ssh ...
0
votes
1
answer
41
views
~/.ssh/config is getting wiped on OS X
Hello wonderful Super Users!
I have the weirdest issue where my ~/.ssh/config file is getting wiped at a semi-regular interval. I haven't narrowed down the timing of it, but it seems to happen ...