SSH (Secure SHell) is a protocol for running commands on a remote computer.

learn more… | top users | synonyms

1
vote
1answer
16 views

shorewall / iptables - restrict outbound ports by user

I have filtering working for some users and groups; however, it is not working for SSH. For SSH, I am specifying members of the ssh group can have outbound SSH traffic. I am using the same syntax ...
0
votes
1answer
19 views

Terminal to manage cluster, where the nodes are accessible from a remote PC?

I need to manage multiple cluster nodes from my PC. The catch is that the cluster nodes are accessible only from a remote PC. So first I have to ssh to the remote PC, and then ssh to a cluster node ...
2
votes
1answer
54 views

How to allow unauthenticated logins over ssh on FreeBSD?

I created an account ckurs on my FreeBSD 10 workstation. This account uses a custom shell-script as a login-shell that attaches the user to a tmux-session in read-only mode. I have sufficiently ...
0
votes
0answers
57 views

Connection timeout error for vagrant up

I have Installed virtualbox-dkms $ sudo apt-get install virtualbox-dkms DKMS: install completed. * Stopping VirtualBox kernel modules ...
1
vote
2answers
44 views

Why ssh is not authenticating the password [closed]

I'm trying ssh to another machine with option k or K. It is not verifying the password. With any string in password section, it is logging in. what is the reason behind this? Example: ssh -k ...
0
votes
1answer
19 views

Use a specific SSH key-pair when connecting via ssh, and temporarily ignore all other keys?

How can I get ssh to temporarily ignore any SSH key-pairs that are present in $HOME/.ssh along with keys that might be loaded in ssh-agent? NOTE: I don't want to make any changes to my $HOME/.ssh ...
2
votes
2answers
84 views

How to use a non-default login shell for ssh login

I am currently working in a network that uses LDAP for authentication. Having set zsh as my login shell, I ran into a problem of gaining remote access through ssh to one of the machines on the network ...
0
votes
0answers
29 views

Open remote BMC console and interact

I have a server running CentOS I will address as the master. I have been reading several solutions for different scenarios. However, I'm still having trouble grasping the idea of what is required to ...
0
votes
2answers
55 views

Check what ssh keys are accepted on server

I have a directory full of ssh private keys, and I'd like to check what keys are accepted on what server without logging in. How can I do that without adding the ssh-keys to my authentication client ...
0
votes
1answer
38 views

Starting job via SSH and detaching from a composite command

I'd like to start a long running script via SSH and immediately return. Afterwards, I want to check the remote host every 5 minutes to see if the job is done. In order to accomplish the first part, I ...
1
vote
1answer
52 views

Concat all remotely distributed files in your cluster

I want to concatenate all abc_2015-12-15.txt files present on my cluster.Is there any best way to achieve this ? One way is to use below command across all nodes till all files concatenated :- ssh ...
1
vote
1answer
63 views

Executing a command in remote machine and redirecting output to a local file

I am uploading a file via sftp and just performing the safety test if the file is completely uploaded to the remote server. I am taking md5 hash of both(file in local and file in remote server) and ...
0
votes
1answer
42 views

“channel 3: open failed: administratively prohibited: open failed” when creating a VNC session on a SSH tunnel

On creating a VNC connection via tunneled SSH connection, I get an error: channel 3: open failed: administratively prohibited: open failed I have found that this happens only when I'm not logged ...
1
vote
1answer
38 views

How to run commands on user login — that are NOT already running

I often run a series of poor-man daemons when I am sshing into my headless server. One to monitor the beer in my kegs and one to monitor the server itself from a web-browser. I do this by running ...
1
vote
1answer
25 views

How to capture IP address of clients to my server through a reverse ssh tunnel.

I have a reverse tunnel on my home server so that I can have access to it from the external world. My home server is behind a firewall. When I access [mydomain]:8080 it forwards my HTTP request ...
1
vote
0answers
75 views

SSH refused after updating from wheezy to jessie

I have a Raspberry Pi Model B and I updated it this afternoon from wheezy to jessie. I connect headlessly with VNC and SSH (usually the latter) because I play around with home LAMP and nodeJS servers. ...
3
votes
1answer
220 views

SSH keeps skipping my pubkey and asking for a password

Everytime I ssh onto my remote server I need to provide the password. I copied my public key (id_dsa.pub) to the remote server using: ssh-copy-id -i id_dsa.pub user@server I checked it was ...
0
votes
1answer
15 views

How to start multiple graphic sessions?

I need to test my application on a friend's mac. Not to disturb him, I thought I could connect me to his PC through SSH (with -X option), but to avoid opening the app in his session, a new session has ...
1
vote
1answer
49 views

SSH local port forwarding

I am experimenting a bit with ssh port forwarding and I stumbled upon a confusing thing. It seems to me that the following commands are doing the same thing: ssh -NfL ...
0
votes
0answers
29 views

Transfer session between computers

At my uni, we use ubuntu on our lab machines, and we can log in anywhere on the network, and ssh into any lab machine. Is it possible to be logged into one machine then decide to transfer the current ...
0
votes
0answers
32 views

Why is tmux starting slower and slower over time?

On my Ubuntu server I run tmux. When I login on the server itself I get tmux, when I login with SSH I get tmux too. Right after a reboot logging in on the server starts tmux within seconds and when ...
0
votes
1answer
29 views

SSH tunnel between 3 box to get internet access

The network looks like this : Server X -- My machine -- Server Y My machine has SSH access to both boxes. Server Y has internet but not server X. How can I make a tunnel so server X can acces the ...
0
votes
1answer
38 views

ssh login a second server without password?

I have already set up public/private key pairs for ssh login on a server A without password. The problem is that I also want to log on another server B without password. I searched a little online. It ...
2
votes
0answers
66 views

Why MS Sql port (1433) forwarding does not work over http_connect proxy?

I have a windows machine with putty, which has access to ms sql server on local network. And i have a remote Ubuntu machine on the Internet with sshd on 443 port (required to establish secured ...
0
votes
1answer
78 views

HOWTO: sshfs via socks proxy

I have some bridge host, which allows access to protected network. I connect to it using this command: ssh sergius@bridge_host -D 3128 Thus, I can turn on socks proxy in browser and it works. I can ...
1
vote
0answers
22 views

Does mosh save bandwith?

The mobile shell claims many benefits, especially with mobile connections. Many mobile plan prices scale with the amount of data transferred. So I wonder whether I can use Mosh to cut down in data ...
2
votes
0answers
30 views

Listing ALL logged-in users. Also the ones not using a shell

We are working with an application that logs in to a Linux server (Ubuntu server 14.04) and just requests a reverse tunnel. Before we did this with Plink. And when the client was running Plink, I ...
0
votes
1answer
108 views

xhost + is not working with Oracle installation

I am trying to install Oracle on Ubuntu 14.04. I have followed instructions and now I am trying to start the installation. However, I am facing problems. If I run ./runInstaller command with oracle ...
-2
votes
1answer
18 views

Login to server and save output in my home

I want to connect to my server ssh aa@server.com then to its node ssh compute@server.com then cat /var/log/test I want to save this output in my home directory. I tried to search in Google ...
0
votes
1answer
251 views

SSH Protocol mismatch

I have a very strange problem. I have two servers, namely daytona, which serves as a storage server with a raid array. I WOL it when I want to back up to it. The second server is testarossa which runs ...
-2
votes
1answer
37 views

What is the maximum number of ssh connections we can do and how can i check in linux

I am trying to figure out how many max number of ssh connections we can do to a machine. where we need to change this value if i want more or reduce the connections. i mean the path of the file.
3
votes
1answer
37 views

Rsync contents of tar with remote server

I've got a number of backups as tar archives, and to do checking/testing of them I restore to some test machines using: cat archive.tar.gz | ssh server2 "cd /path/to/dir; tar zxvf -" Most of the ...
0
votes
1answer
62 views

scp with sshpass - remote directory and file with wildcards

I have a list with 950 MongoDB VMs I wish to collect all mongodb.log. The path to log file is depending on database name. for i in $(cat /tmp/mongonodes.txt) ; do sshpass -p34dDgdWger@rg4fll434ef ...
1
vote
2answers
50 views

Is it possible to upgrade OpenBSD over a network?

I have an OpenBSD 5.5 system that I once had physical access to and I was able to plug in a monitor to upgrade from 5.0 to 5.5. Now it is installed in a location away from my residence in a spot ...
-4
votes
1answer
47 views

How to disable ssh remote login using tcp wrapper [closed]

I want to use tcp wrapper to disable ssh remote login from a client on the server. How do I find out if sshd supports tcp wrapper and hence use it to disable ssh login?
0
votes
1answer
30 views

How to check connectivity between opensuse vm client and server and how to remotely log in

I am new to openSUSE, I created an openSUSE VM acting as the server(Server_VM) where I enabled secure shell server and created a user account client_01 that is going to be used to access Server_VM ...
1
vote
0answers
60 views

CentOs 7 - MobaXterm - X11 Forwarding per user

I am using MobaXTerm to connect to my CentOs 7 Server. I have set X11Forwarding yes in my /etc/ssh/sshd_config file. The root user is able to start the X11-Gui for example gedit. The other users ...
1
vote
1answer
61 views

How to use SSH tunnel to connect to remote MySQL server?

I am trying to connect to remote MySQL server, which runs on CentOS 6.6 cPanel server. I am creating tunnel this way: ssh -L 3306:xxx.xxx.xxx.xxx:3306 user@xxx.xxx.xxx.xxx -p PPPPP Where ...
2
votes
2answers
104 views

iptables: No chain/target/match by that name - adding SSH ATTACK rule

I have a problem with adding rule against brute-force SSH attacks. I try to do it in the following way: iptables -F iptables -L iptables -N SSHATTACK iptables -A SSHATTACK -j LOG --log-prefix ...
1
vote
2answers
149 views

Scp command over ssh without password in script

Here is my problem: I would like to perform scp command after ssh to remote server without typing any passwords. I describe my steps. My first steps were: ssh-keygen -t rsa and local@host$ ...
3
votes
1answer
309 views

How to set a dynamic Message of the Day (motd) in Debian Jessie 8.2 for ssh?

I would like to have a dynamic motd, but I can't figure out how to do it. I tried what I found, adding /etc/update-motd.d/00-header, 10-sysinfo, 90-footer, and symlinking to /etc/motd ...
3
votes
1answer
373 views

How to see what accounts connected with ssh are running

Using the question here I can see the users connected with ssh. Is there a way to see (from terminal) what program the users connected with ssh are running? EDIT The ssh users are running commands as ...
4
votes
1answer
26 views

How to avoid calling 'startx' upon ssh login

my current situation is that in my .zprofile file I have the following line I found somewhere on the internet [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx I think it's ...
2
votes
0answers
72 views

Dropbear immediately drops connection on DD-WRT

I have a home wireless router running DD-WRT. I am unable to SSH into the router (Dropbear) even after restoring default settings and reinstalling the DD-WRT firmware. So I tried to SSH into the ...
4
votes
1answer
34 views

Unlock the encrypted Volumes after restarting the server via SSH

I used the sudo shutdown -r to restart my Mac server via SSH. However, after restarting the server, I discovered that two volumes are offline due to encryption. What I am trying to do is input the ...
2
votes
0answers
22 views

SSH pageant not working

I'm running mobxterm as my windows ssh client, I have enable "use external pageant & forward ssh agents" but I still cannot get it to work. I know authorized_keys are set correctly as its ...
2
votes
1answer
25 views

tunnel netcat video streams to mplayer

I am sending a video stream over my network and I want to encrypt it with ssh. This solution below works: on machine 1 I run ./capture | nc 192.168.1.65 5001 on machine 2 I run netcat -l -p 5001 ...
3
votes
1answer
55 views

setting up SSH reverse tunnel [duplicate]

I have the following setup: I would like to be able to ssh or vnc from home computer to work computer. I think that I could setup some permanent ssh (reverse) tunnel to get this all going, but I am ...
2
votes
1answer
67 views

Limiting user SFTP only to their home directory

Ubuntu 14.04 I'm trying to restrict all users of a certain group to their home directory. They should be able to SFTP to the directory and read/write whatever they like within there. I have ...
2
votes
1answer
50 views

ssh ignores ssh-agent

I'm using a new system and ssh is ignoring my ssh-agent. Note I've been doing this for years elsewhere, it is not a new thing I am confused about. With bash: > echo $SSH_AGENT_PID 1234 > echo ...