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

learn more… | top users | synonyms

2
votes
0answers
21 views

SSH not logging properly

I am looking at /var/log/auth.log on a Debian Webserver, and the last thing it logged was: Jul 2 21:09:01 h311 /USR/SBIN/CRON[25912]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d ...
0
votes
0answers
18 views

Resetting Terminal colors on logout

I am using these setting in my .bashrc to make the terminal colors match the ones in the solarized palette echo -en "\e]PB657b83" # S_base00 echo -en "\e]PA586e75" # S_base01 echo -en "\e]P0073642" # ...
1
vote
1answer
23 views

How can I use arcfour encryption over sshfs?

A recent update to my Raspbian Raspberry Pi has made arcfour sshfs fail. From the client: $ sshfs pi:~ /tmp/alskdjflkasdf/ -o Ciphers=arcfour read: Connection reset by peer On the server at ...
0
votes
0answers
10 views

SSH over corkscrew and proxy get “ssh_exchange_identification” error

until few days ago I was able to connect to my remote ssh server, using corkscrew to tunnel the connection through the corporate proxy, with this simple configuration: ssh -v root@xxx.xxx.xxx.xxx -p ...
0
votes
0answers
9 views

Start X11vnc on boot at SLIM login window

Debian 7.7 Wheezy, xorg, SLIM, i3 I'm unable to have x11vnc -usepw -forever started with SLIM, to offer a vnc connection on boot, as I do not have a monitor attached to the computer. I tried to add ...
0
votes
1answer
17 views

How does Slackware Login quotes work?

I'm new to Slackware and I think It's beautiful Distro. When I login it with ssh it prints motd, quote and a line for informing mail like this Linux 3.10.17. Last login: Thu Oct 23 06:28:08 +0330 ...
3
votes
1answer
16 views

Allow SFTP users to create sub-accounts

Environment Ubuntu 14.04.1 LTS server edition OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014 Current Configuration SFTP password-protected accounts are setup for Alice and Bob. Their ...
0
votes
2answers
35 views

SSH failed public key authentication

I have a server, and I want to be able to SSH in with two different users. I have setup public key authentication for the first user, and it works just fine, however, I can't login with the second ...
-1
votes
1answer
72 views

Fail2ban consuming lot of bandwith

I have a raspberry pi on which I have a nginx and a ssh server, I have installed iptables and fail2ban in order to limit the attempts of ssh connection. The problem is that it seems that fail2ban ...
0
votes
1answer
22 views

Start aplication in local desktop from remote SSH [duplicate]

I have an issue for which the work around would be to start the application in X instead of headless. How do I make sure the app is executed on the desktop, even if I run the command from a remote ssh ...
1
vote
0answers
29 views

Is it possible to make a symbolic link of a file in other machine?

I have a account in a server and I would like have a symbolic link of some files in my local machine. How can I do this?
0
votes
0answers
27 views

SSH hostname and IP address [on hold]

Please can some one help me with Linux root server IP or hostname with user name and password which port is 22 ssh to use for PuTTY? I need to use it for PuTTY, I've tried all username and passwords I ...
2
votes
0answers
18 views

SSH Tunnel with autossh

I can't seem to find a close enough example but here it goes. I'm trying to in the end setup rsync from one server to another through an ssh tunnel. Local (my machine) will run the rsync to pull ...
0
votes
1answer
61 views

How does a cisco device know if I'm connecting via telnet or ssh?

I'm experiencing strange behavior with a Cisco UC520 router. When I am directly connected to the router and telnet to it using this: telnet 192.168.1.1 23 Then I get a successful login prompt: ...
0
votes
0answers
11 views

While trying to ssh, pam_ldap always sends the password “INCORRECT” causing bind to fail

I installed ldap-auth-client nscd ldap-utils on lubuntu 14.04 running on a banana pi. I can successfully bind as the user using ldapwhoami, but I cannot log in via ssh: Auth.log: Oct 21 02:12:05 ...
0
votes
1answer
23 views

What permissions should each file under .ssh have?

What permissions should each file under .ssh have? I just experienced some glitch caused by .ssh/config not having 600. What permissions other files there should have?
5
votes
2answers
145 views

annoying message “X11 connection rejected because of wrong authentication” while there is no problem at all

I'm having an annoying problem. When I'm logged in to a specific host via SSH, the message X11 connection rejected because of wrong authentication. occurs three times seemingly random about once ...
2
votes
0answers
14 views

SSH fork kills connection

I am using a linux script which has the task of forwarding control of the system to remote support. In this script one of the commands is a ssh port forward command that will forward the port of the ...
1
vote
0answers
21 views

Is it safe to disable password for a user, if it only uses SSH key login?

We want to remove the password usage on a UNIX system. The users should only log in with SSH key. Not password. So their password field in the /etc/shadow file will be "*" and set their password to ...
1
vote
2answers
32 views

SSH into multiple remote machines through ssh tunnel [duplicate]

I am new to ssh-tunneling. Basically I want to be able to get ssh access to servers in a remote lab (say subnet 1.2.3.X). I can log into a machine that is visible say 11.22.33.44 I want to be able ...
1
vote
1answer
24 views

libvirt-bin error on a VM when I try to list VM

I'm using Virtualbox 4.3.18 on my Arch Linux Host machine and libvirt-bin 1.2.9 on my Ubuntu Server Cloud guest machine. Everytime I try to follow this tutorial I receive the following error when I ...
1
vote
1answer
74 views

Running commands after ampersand symbol & in a remote ssh session

I have a shell script that initiates a long, resource-intensive command on several different machines. In order to execute the script on each machine in parallel, I have an ampersand symbol after ...
1
vote
1answer
33 views

Execute commands when specific user and ip login to ssh

How can I execute a few commands when a specific user with a specific IP logs on via ssh?
1
vote
1answer
14 views

Send commands to screen within screen

login to Server1 and run screen SSH to Server2 and connect to an existing screen session Realise ^A commands are procesed by Server1's screen only Is it possible to control Server2's screen in this ...
1
vote
1answer
27 views

Where should my authorized_keys file be if I want to ssh to `localhost`?

I have my public / private key setup, but I don't know where it should go. Should both these files be placed in ~/.ssh/ for my user?
0
votes
1answer
48 views

SSH Pub Key Login without Password

I am configuring an SSH Server on Ubuntu 14.04.1 Server Edition. The goal is to use public key authentication only and only permit certain usernames. My public and private keys are created and a ...
4
votes
1answer
4k views

How do I disable SSLv3 in an OpenSSH SSH server to avoid POODLE?

In wake of the newly-discovered POODLE vulnerability, I'd like to disable SSLv3 on all of my SSH servers. How do I achieve this with OpenSSH?
1
vote
1answer
23 views

Reverse ssh tunnel in config

How can I establish a reverse ssh tunnel with my ./ssh/config file? I'm trying to reproduce this command ssh -R 55555:localhost:22 user@host in my .ssh/config file so that when I type ssh host ...
0
votes
1answer
40 views

SSH over multiple server and save output of multiple commands in file on local server

I want to SSH over multiple server (host 1, host2 and host 3) and save output of multiple commands (cmd1, cmd2 etc) in file (output.properties) on local server. I know there are a few posts similar to ...
1
vote
0answers
28 views

How can I get console ssh to NOT ask for my private key password every time? [duplicate]

I have a program required by work installed on a Debian Wheezy box. Previously I was using Mac OS X (switch details irrelevant). I have an SSH keypair at ~/.ssh/id_rsa{.pub}. That keypair has a ...
4
votes
2answers
94 views

What elements affects the key pairs generated by ssh-keygen?

I use the ssh-keygen -t rsa to generate the RSA key pairs. I see that in the id_rsa.pub file, I see the username and the hostname. But I want to know that what elements will affects the key pairs. ...
2
votes
2answers
37 views

How to connect to a VPS without SSH.

I have a fresh VPS I just bought, for playing only. No risk of any kind involved, so I noticed that due to my slow connection I have to wait seconds to finish writing commands and opening/closing ...
3
votes
1answer
31 views

Terminating SSH called from a script (SIGPIPE handling?)

so I was wondering why there are some hanging SSH connection left from some of my automated scripts and I came to a weird issue - SSH, if used without PTY, doesn't terminate when the output pipe gets ...
1
vote
2answers
59 views

How to do a grep on remote machine and print out the line which contains those words?

I have few logs files in my machineB under this directory /opt/ptd/Logs/ as shown below - My logs files are pretty big. david@machineB:/opt/ptd/Logs$ ls -lt -rw-r--r-- 1 david david 49651720 Oct 11 ...
0
votes
0answers
29 views

SSH connection speed drops after some time of inactivity

I use MC to transfer working files from my Ubuntu 14.04 to other Linux hosts (mostly CentOS5). Shell link is opened by F9->R->H(shell link)->${host}->Enter combination (in MC). Then I can copy files ...
1
vote
1answer
67 views

Chroot gone wrong, can't ssh with user

Distribution: Scientific Linux 6.5 (Carbon), not exactly your typical brand of linux. Tried to chroot a user using these instructions for SSH and quite obviously failed, and now I can't even log in ...
1
vote
5answers
56 views

SSH login and /tmp on 100%

Not counting the reserved space by root (usually 5%), if the /tmp is really 100% full, so 0 bytes free, why couldn't we log in to the machine via ssh? We only got the error message "cannot fork". ...
1
vote
0answers
43 views

How to do version-control repository update in crontab?

I'm trying to automate version-control repository update in crontab. The following script /home/usr/mrbean/bin/update.sh works in interactive Bash command-line: #!/bin/bash ...
2
votes
1answer
73 views

Expired password and SSH key based login with UsePAM yes

There is a SLES 11 machine. The users logs in via SSH and pubkey (mixed, some user uses password, some use ssh key) The sshd_config has: UsePAM yes PasswordAuthentication yes PubkeyAuthentication ...
2
votes
2answers
50 views

Copying Files Through Two Layers of SSH from Windows

The place I work has a login server, and then I login to a Linux box from that login server. As in, ssh login@host ssh computer_name providing authentication each time. If I'm working from my ...
1
vote
3answers
65 views

Securely passing user input to command

I have a daemon daemon running in Server A. There, there's an argument based script to control the daemon daemon_adm.py (Server A). Through this script I can insert "messages" to daemon coming from ...
-4
votes
1answer
54 views

Need to automate file transfer from linux server to windows shared folder

We need to transfer files from a Linux server to a Windows shared folder. we don't have any Samba server. Can you please explain a better way?
2
votes
1answer
47 views

DSA/RSA keys work with Linux but not HP-UX

I have an NFS mount that I use to log into many Linux/Unix servers. I created a passphraseless RSA and DSA key from with I copied the id_rsa.pub and id_dsa.pub files over to authorized_keys. total 9 ...
2
votes
1answer
47 views

Using rsync to copy from local to remote server with cronjob, asking for password

I want to copy files from a local machine to a remote machine. I have the command all set up and it looks like this: rsync -a project root@123.456.789.0:~ However, when running this command, I'm ...
0
votes
0answers
52 views

ssh public key authentication not working

I had my keys set up so I can ssh between machines without having to enter a password and everything was working for a while but then, all of a sudden, I'm being prompted for a password on some ...
6
votes
1answer
47 views

Cleanup trap for ssh command on multiple remote hosts

I want to execute an arbitrary command on multiple remote hosts using ssh. These commands are mostly long running commands that monitor server resources and aggregate the output to my local ...
1
vote
1answer
56 views

Open file over ssh in local X window [duplicate]

How can I open html file in local internet browser? I am connected under /ssh://user@server.... I'm thinking about something like firefox file_from_remote_server.
2
votes
1answer
45 views

ssh and screen automatically - what am I missing?

This works fine, but does not load my ~/.bash_profile on server2. Why? $ ssh -A -t server1 ssh -A -t server2 bash -c "screen -dR"
2
votes
1answer
24 views

Creating an SSH tunnel from a linux VPS to a web server database

I'm creating a server application that clients will connect to. The server application is running on an Ubuntu Server 14.04.1 VPS. The server needs to be able to connect to a MySQL database hosted on ...
2
votes
1answer
23 views

Repository for Family Pictures [closed]

I have a Debian computer and a MacBook Air. On Debian I created a repository: mkdir -p /repository/git/2014.git cd /repository/git/2014.git git init --bare --shared On the MacBook I then typed: cd ...