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

learn more… | top users | synonyms

0
votes
1answer
39 views

My ssh server stopped working after I did something

I'm very new to Linux, BTW. The ultimate goal for me is to run applications and their GUIs on a (Mac) computer from another computer. The first step is to just use SSH to access and control the ...
1
vote
0answers
23 views

ssh x11 forwarding drag-and-drop

Is it possible to drag-n-drop into x11 forwarded application? For instance, I'm forwarding skype and I'd like to send a file by dropping it into message box. Yes, I know I can work it around. This ...
1
vote
4answers
63 views

find: missing argument to `-exec'

when I'm trying to use this command var1=`sudo -u psoadmin -H -s ssh daill_scp@files.dc1.responsys.net find . -maxdepth 1 -type f -mtime +14 -exec ls -lh \{} \; | awk '{print $5, $9}'|egrep -v ...
0
votes
1answer
30 views

How do I tunnel traffic through a VPN and then through another machine

I recently started working from home using a laptop (A) that connects to a corporate network over a VPN. The VPN end point (B) on the corporate side then has two ports, 3389 for RDP and 22 for ssh, ...
1
vote
0answers
34 views

bash scripting : using expect

I am facing an issue when I run simply these commands. The remote server want to pass "yes" to add the key in RSA file because first time connection established with scp. commands are given below ...
12
votes
1answer
456 views

Transfer a file over a unstable SSH connection

I'm trying to upload some big files (around 10GB) with a slow upload speed (200kb/s) on a often disconnected SSH connection (due to poor network conditions). I'm trying to use scp, but if there is a ...
3
votes
0answers
30 views

Program run in SSH accessing pulseaudio on the machine where it runs

I would like to run a program remotely (through ssh) but with audio going to the remote machine where the program actually runs. This would normally work with ALSA, but pulseaudio apparently checks ...
2
votes
2answers
35 views

How to set Timeout for an ssh command and also get back the result of remote commands

I have a script that runs on bash, in an RHEL server that connects to thousands of nodes and returns with the values of some 5 executed commands - It collects info from RHEL Servers only. It works ...
4
votes
3answers
157 views

How to unlock account for public key ssh authorization, but not for password authorization?

The ssh won't let me login, because account is locked. I want to unlock the user on my server for public key authorization over ssh, but do not enable password-ed login. I've tried: # passwd -u ...
1
vote
1answer
33 views

ssh connection to server closed immediately after authentication

I had the same problem as ssh connection to server closed after authentication immediately I connected to my server (in this case a raspberry pi running pi musicbox) via ssh, it would accept my ...
0
votes
0answers
14 views

How can I be blocked when I try to SSH from another SSH but not NoMachine?

I normally connect to a Linux server, linux, from my Windows machine, windows, using the NoMachine client, and then open a gnome-terminal window from which I ssh to solaris, a Solaris server. ...
0
votes
0answers
20 views

ssh without password multiple shared hosts

Hey I know this is a simple task but i was getting some trouble do to my setup. I have 3 servers on which i want to be able to ssh without being prompt a password. But the thing is each of those ...
1
vote
2answers
56 views

How to tar, split, pipe, untar over ssh

I'm copying large files over LAN, and I've noticed that with doing one ssh pipe, I can get around 10MB/s transfer speed. However, if I shoot off four of those at the same time, I get around 40MB/s ...
2
votes
1answer
23 views

How to make sshd listen to two ports, but restrict one of them to a single source address?

I need sshd to listen both on port 22225 (allowing connections on that port from any IP) and port 22 (allowing just a single static IP on that port). In other words, listen on two ports at the same ...
-2
votes
3answers
38 views

what is the difference between “ssh user@ip” and “ssh ip user”?

I am facing problem with one of the above. Only ssh user@ip works not the other way round. And I am getting the following error when I run ssh ip user sh: root: not found Because of this I GUESS ...
1
vote
0answers
11 views

how to display osd_cat on a remote HDMI Screen [duplicate]

i have installed xosd an used osd_cat to display text in my screen. the problem is that i cant do it on the remote station on the remote screen through SSH. I want to execute osd_cat on the remote ...
0
votes
2answers
39 views

Enable ssh host to guest & guest Internet on CentOS 7 guest with VirtualBox

I have 2 CentOS 7 guests running in VirtualBox on a Ubuntu host. I want to be able to: Connect using ssh from host to guest Download/install packages from the Internet on the guest. I currently ...
0
votes
0answers
24 views

Help with vsftpd and sftp

Is it possible to sftp setup that is more flexible then the ssh internal ftp server? I have been tasked with providing an /srv/ftp/ directory which includes mount -bind other_directory1 /srv/ftp/d1 ...
4
votes
2answers
97 views

Can 'ssh <host> <command>' be configured to always load server-side startup files?

I would like run remote ssh commands and have them always load server-side startup files by default. I am looking for a solution that does not require: configuration by root adding extra boiler ...
0
votes
1answer
19 views

Solaris 10: how to enable some cipher or esclude weak cipher on ssh?

On HPUX and Linux servers this line works fine Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128 On solaris10 give me error /etc/ssh/sshd_config line 155: Bad SSH2 cipher spec ...
-2
votes
0answers
30 views

AIX Version 7.1 curl sftp/SSH transfer not allowing filenames longer than 8 characters [closed]

Not sure if this is a Unix problem but I need to send a file to one of our trading partners. They recently didsabled ftp on port 10021 and now only allow sftp on port 10022. My problem is that when I ...
0
votes
0answers
34 views

can't connect to remote host with MySQL…firewall problem?

I've granted privileges to thufir for remote access through the shell (correct?), but cannot seem to actually connect. The router firewall has SPI to off. I've disable the IPv6 firewall on the ...
0
votes
0answers
15 views

ssh agent-forwarding with lxc

I have a "little" problem I try to ssh using putty and pageant to server, than to ssh into lxc-container and than to other server. But no publickey is used, it prompts for password (at last hop). ...
1
vote
0answers
27 views

SFTP connect through an other server

I want to connect to my account in a server of my university. When I’m there I only have to do ssh user@FinalServer/home/user or create a folder using sftp://user@FinalServer/home/user But the ...
0
votes
1answer
17 views

SSH Tunneling does it multiplex?

I'm writing an application which will be doing something similar to SSH tunnelling (port forwarding and reverse port forwarding). However, SSH will not be involved at all, hence why I'm not using any ...
0
votes
1answer
38 views

unknown command “vftovp” in linux command history [ Is my linux box compromised? ]

I have Slackware linux system configured with ssh remote access. While observing the command history, I discovered that there is one unknown command executed from my linux box "vftovp". I certainly ...
3
votes
1answer
75 views

scp command fails executing cp

I am trying to use scp command to copy the r0.res file from local machine to a remote machine. I entered the following command: scp -v /etc/drbd.d/r0.res root@192.168.1.104 and I obtain this error: ...
2
votes
1answer
68 views

bash ssh warning when connect to raspberry: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) [duplicate]

I tried for example this to solve my problem and this too. My problem is that when I try to connect to my Raspberry pi2, I got the following messages: Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT ...
3
votes
0answers
43 views

Is there a technical reason why ssh-agent lacks a sudo-like inactivity/idle timeout feature?

There are some brief discussions about the existing ssh-agent -t feature at [1], and there was a post as far back as 2001 on debian-devel [2] wishing for an inactivity timeout feature. There's a ...
4
votes
0answers
41 views

Fast drop-in replacement for ssh -x

I'm looking for something to provide faster X11 fowarding than ssh -X provides. I do not need a full GUI session or the ability to drop/resume user sessions. I use NX regularly, but as far as I can ...
1
vote
0answers
51 views

SSH Connection closed by remote server for one client but no problem with others!

I have a remote server and I was able to connect via ssh to it but some they I could not any more! I ssh to server with my laptop and my android phone but from some day every time I am trying and the ...
1
vote
0answers
23 views

Avoid “Shared connection to <host> closed” messages

I'm managing a lot of drupal sites, and trying to automate some stuff using drush. Drush run locally calls drush on the remote host via ssh using options specified in the config for the site alias. ...
0
votes
2answers
46 views

Implementing TLS 1.2 when I SSH into a box as a measure against POODLE

Is it possible to edit sshd_config or ssh_config, such that the SSH connection into a machine configured to use TLS1.2 is successful and rejects connections configured to use TLS1.1 and below, as well ...
1
vote
1answer
52 views

ssh connects to wrong server

I changed the ip address of an ubuntu server in DNS before 10.x.x.111 after 10.x.x.222 I've flushed the dns cache, and yet when I try and ssh into the machine, ssh still tries to connect to ...
0
votes
0answers
67 views

SCP stopped working: Permission denied, please try again

I was using scp to transfer files from server A to B (both CentOS with WHM and their usernames are equal). nohup scp -rpC xaa2 username@serverIPB:xaa2 I did it many times and then, suddenly, it ...
0
votes
0answers
25 views

Can I manually check if a string complies with password rules?

I'm using an ssh script to change passwords on multiple servers as root. I would like to be able to force password rules when I'm doing this. Is there a way for me to check if the password string ...
1
vote
1answer
14 views

How to mount automatically sshfs when RSA authentication is not an option?

I would like to mount a file system on a remote machine automatically at each Linux startup. However I always need to use password authentication because I cannot use ssh-copy-id. How do I make this ...
0
votes
0answers
28 views

Unable to ping/SSH web-facing server

I just installed Ubuntu 14.04 LTS onto a box that's set up with one local NIC and one web-facing NIC. The web-facing NIC is configured with a static IP per my ISP. Because networking and security ...
0
votes
1answer
35 views

How to read bash config when working with SSH remote sessions [duplicate]

I have a Node.js app which I want to deploy on my VM machine. Before starting the app, I want to set few commands which should be read before the app is started. I placed those commands inside ...
13
votes
4answers
1k views

How to retrieve IP addresses of possible ssh attackers?

I've just cat /var/log/auth.log log and see, that there are many | grep "Failed password for" records. However, there are two possible record types - for valid / invalid user. It complicates my ...
3
votes
0answers
32 views

Xmove is unable to connect to X11 server via SSH X forwarding

I have a LAN where a windows machine running Cygwin (XWin server) is used to connect to a Linux host via SSH with trusted X forwarding. I connect with $ ssh -Y user@linuxhost without any issues and ...
2
votes
4answers
113 views

Can't do an SCP pull despite SSH working fine

I have setup key authentication between two servers and I can ssh in without a key, for example: ssh backup@hostname this works fine and logs me in. But when I try an SCP to pull a file, I get no ...
0
votes
0answers
26 views

Mounting nfs4 partition over ssh tunel

I am following this manual on how to mount an nfs port over an ssh tunnel: https://blogs.oracle.com/shepler/entry/tunneling_nfs_traffic_via_ssh I need this because I want to mount an nfs partition ...
1
vote
1answer
32 views

Linux Create user with specials login options

Hello i need create some users with special privilegies that will be: A user that can only login with ssh, no local, it can do anything in pc search, find, etc like a normal user but only with ssh. ...
0
votes
1answer
17 views

Set MasSessions to SSH does not take effect

I got a server with enabled ssh. To prevent attacks and to fit to my needs, I just need one connection at the same time to my server. So, I tried to set MaxSessions paramater to 1 in ...
-1
votes
0answers
27 views

SSH Session Hangs - Custom Way of Checking It

So, the hanging of the session is not the issue by itself - I am aware of it, I know its root cause. I am interested in a rather custom solution for checking if the session hangs. I am inspired by ...
1
vote
1answer
37 views

Firefox in Docker, failed in isolation

While experimenting with docker, I realized I can run a browser in a container for improved security. I managed to start with a clean Docker Fedora, in which I installed the openssh-daemon package. ...
2
votes
1answer
27 views

Arch Linux openSSH frequently drops connection

I'm running a VM using Oracle's VirtualBox. The OS is the latest version of Arch, 64-bit. For some odd reason, every so often (frequently enough to be very annoying and making it almost impossible ...
4
votes
0answers
55 views

SSH server listening on multiple ports with passwordless access not allowing connections to second port

I have my Synology NAS running an SSH server listening on the default port 22 and I set up passwordless authentication with a public/private key and a passphrase: From sshd_config: ...
0
votes
0answers
11 views

Is it able to redirect content of remote host clipboard to local clipboard?

When I doing :%y+ in a vim session on the remote host, I actually saved the content into remote host clipboard, right? Is there a way that I can redirect such content of :%y+ from remote host ...