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

learn more… | top users | synonyms

0
votes
0answers
13 views

Eclipse over X11 forwarding is not showing all icons/assets

I have a virt running RHEL5 which has Eclipse installed on it. I'm using ssh -Y to start eclipse on my Ubuntu host. My problem is that not all assets in Eclipse seem to be shown. Some of the menus ...
0
votes
0answers
37 views

firewall-cmd doesn't work when called through OpenVPN connection, why not?

I recently set up OpenVPN to run on a remote CentOS 7 server. Once I establish an OpenVPN connection to the remote server from my local machine, I am able to ssh through the VPN tunnel with ssh ...
0
votes
2answers
87 views

Shell script for ssh into a Unix/Linux server from MacOS X 10.10

I am attempting to ssh into a server by using a bash script from MacOSX. #!/bin/bash spawn ssh username@gatewayserver expect "password" send "Mypassword\r" interact spawn ssh ...
1
vote
0answers
22 views

How to set gnome-terminal to the remove server name without touching PS1? [closed]

There are various servers with various OS, we cannot touch the PS1 of them. There is a "sysadmin" notebook, having CentOS 6.5/GNOME, so using gnome-terminal. We log in via SSH to the servers in ...
1
vote
1answer
25 views

Transfer file from remote computer without console

I need help to transfer file from remote Server A to server B (login to B with Terminal (putty)), but I also need to do that in background (so I can close terminal and move away). What have I tried is ...
1
vote
1answer
35 views

Play crawl-tiles over SSH from Windows with PuTTY

I have a headless Raspberry Pi running PiBang (swapping to Raspbian soon since PiBang is no longer supported) which I'd like to play Dungeon Crawl Stone Soup over ssh. When I try to run crawl-tiles ...
2
votes
0answers
19 views

What's the approximate data scale that an ssh session will consume?(without file exchange)

When traveling during holidays, sometimes I need use my mobile as a WiFi hotspot to let my notebook connect to server to do some task. Then a question comes to my mind: How much web data will be ...
1
vote
2answers
56 views

Copy files to multiple computers over LAN

Good day, I am pretty new to Unix and I need to do this simple task. I have a few files, let's name them file01, file02, file03 etc. and I need to copy each of them to one computer from a list. The ...
4
votes
5answers
254 views

Open file from remote computer on host computer

I'm trying to edit a file from a remote computer connected via ssh. How can I open the remote file on my local computer to edit?
2
votes
2answers
90 views

Installing SSH via Cygwin

I have a laptop with windows 8. I'm trying to setup SSH from this laptop to a windows 2012 server via Cygwin64. I followed the steps as described here. However, when I am at the step: ...
1
vote
1answer
24 views

Running process on a remote browser

I work on remote machine using the ssh protocol. I try to test a tool which is a process running on the port 5000. Code: tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN ...
27
votes
7answers
5k views

My server is constantly being attacked [closed]

I am fairly new to the system administration world. I've been working on an application recently and when I check my application server logs, I constantly get various IP addresses trying to ssh into ...
1
vote
1answer
55 views

How to pipe scp/ssh file transfer(pull) through tar (remote->local transfer initiated from local machine)

I would like to pipe an scp pull operation(sample without tar below) through tar, so that only one tar file is written for about 10 directories: user@localhost:/home/user> scp -r ...
3
votes
2answers
50 views

Seeing file names in SCP

I'm using scp to copy files from a remote server to a local one. What's really uncomfortable is that I need to type the file path precisely. I'm used to relying on autocompletion, because file names ...
3
votes
1answer
49 views

A consistent and safe approach to passwordless accounts with SSH

I must admit that I like servers without passwords in some cases. A typical server is vulnerable to anyone who has physical access to it. So in some cases it is practical to lock it physically and ...
2
votes
0answers
34 views

Avoid creation of .k5login file in a SFTP Chroot configuration

I've successfully set up an sftp with authentication on Active Directory. All users in a particular AD group are managed by SSH's sftp subsystem and chrooted into a common home directory, let's say ...
1
vote
2answers
31 views

Establish a shared terminal between two PCs through the internet

My PC and that of my friend are in two different local networks, each connected to the internet via a router, each LAN has only one IP which is temporallily allocated by the ISP. What problems do we ...
4
votes
2answers
96 views

How to force ssh-copy-id to ignore existing authorized keys?

Edit: There's a bug report for this, doing the equivalent of this answer. I'm trying to script the copying of public keys to multiple machines. ssh-copy-id checks whether it can log in with the ...
1
vote
3answers
59 views

Can a command be executed over ssh with a nologin user?

If a user has loginShell=/sbin/nologin is it still possible to ssh user@machine [command] assuming that the user has proper ssh keys in its home directory that can be used to authenticate? My ...
-1
votes
2answers
60 views

How to prevent the messages about REMOTE HOST IDENTIFICATION HAS CHANGED

Is it possible to prevent the following message about: ( REMOTE HOST IDENTIFICATION HAS CHANGED ) When using only this connection syntax ssh xxx.xxx.xxx.xxx example of warning message: ssh ...
2
votes
1answer
99 views

Cannot ssh into a fresh install of CentOS minimal on lan

I've downloaded CentOS 7 Minimal and installed on an old laptop. I want to be able to ssh to the machine from other machines on the same lan. But I keep getting this error .. ssh: connect to host ...
0
votes
1answer
75 views

How to open the SSH port 22? [closed]

I have installed the ssh utility on an embedded system but I can't connect to it. I am able to ssh from the device to another computer on the network but not the other way around. The only port ...
0
votes
1answer
62 views

SSH to a virtual machine

I recently installed a Linux (Mint 17) virtual Machine on a Windows 7 PC. In order to be able to SSH to this virtual machine, I had to define a few rules and redirect ports as explained in other posts ...
0
votes
0answers
57 views

Create SSH session between Kali Linux to Windows XP

I'm currently using PuTTY to connect Windows XP to Kali Linux which has been very successful. However, for a project I'm working on, I need to connect from Linux to XP (using PuTTY still), but the ...
-2
votes
0answers
28 views

How to create sftp user that only has access specific existing Folder

I want to add ssh user who only has permissions to access specific directory: /home/apps/archived_log This is an existing directory, I want new user to only have access to archived_log
0
votes
1answer
34 views

Running 2 OpenVPN on the same box

(Fist of all, I'm a total Unix newbie). I know I can create two (or more) user accounts with root privileges, and I can access them independtly through SSH sessions. But I don't know how Unix systems ...
1
vote
0answers
46 views

Xorg: Connect remote display

I'd like to use laptop's monitor as second display for my main Debian workstation. I need exactly second monitor, but not Debian's X11 on laptop.
3
votes
3answers
139 views

How to rsync files between two remotes?

I would like to transfer files between two remote hosts using on local shell, but it seems rsync doesn't support synchronisation if two remotes are specified as follow: $ rsync -vuar host1:/var/www ...
2
votes
1answer
24 views

How to specify ConnectTimeout for dropbear?

I'm trying to use the Dropbear SSH and in the previous version of SSH I used, you could add the argument -o ConnectTimeout=10 to cause an attempted connection to timeout if unsuccessful after ten ...
-3
votes
2answers
61 views

SSH with no password

I have a Shell bash file that i run as sudo and it contains a file to send a ssh comand to bulk clients but it asks for the password every time and i do not what key based ssh the password is the same ...
0
votes
1answer
69 views

CentOS with AutoSSH, Port Forwarding Clarification

I'm using autossh and set it up like shown in the following example: http://surniaulula.com/2012/12/10/autossh-startup-script-for-multiple-tunnels/ I found it works really well, but need some ...
1
vote
1answer
20 views

How to backup files with only a minimal resue system?

I only have access to my vserver via a minimal rescue system over ssh. It does not have scp or ftp installed. Is there an easy way to backup the files, preferably directly to an ftp server, but to ...
1
vote
1answer
69 views

Reason why ssh RSA key would change?

Today I went to connect t my Centos 7 box via ssh and my sftp client and both indicated that the server RSA key finger print had changed. I've checked all my logs for suspicious activity but don't ...
0
votes
1answer
28 views

Running a “scheduled”/delayed script as sudo on server, via ssh - and right before ssh exit

This would have probably been answered by Keep running a script via ssh, if I didn't have to run a command as superuser. Let me try with an example: say on my server, I have this script as ...
1
vote
1answer
39 views

How do I login to the same remote server with two different usernames via key-login from a same local user?

I have a remote server at www.example.com And when I use ssh-key login it, everything looks fine. I read some tutorials, established the private/public key pair, etc. The login looks like: ssh ...
-3
votes
0answers
58 views

SSH Rootkit (EBURY) affected Server, What is the solution?

{i am a active member of many sites of stackexchange, Please do not mark this as a duplicate, i have verified & also this is very specific problem. I am posting it here, Bcoz this is only website, ...
0
votes
1answer
41 views

SCP from remote to local does not work

I can scp just fine from local to remote by doing: scp trip3.csv pi@192.168.2.11:/home/pi/ But when I try to do remote to local (below) it says no such file or directory: scp ...
3
votes
1answer
156 views

Why do changes to /etc/passwd not take effect?

I've edited /etc/passwd by running usermod -s to change my shell. (chsh doesn't work, because it prompts for a password; we SSH in using keys.) When I disconnect, and reconnect, the change doesn't ...
2
votes
3answers
50 views

How to merge keys, or handle keys with the same file name?

I created a key for logging into a server (using ssh-keygen) with the name id_rsa, and so in my .ssh directory there is id_rsa.pub and id_rsa. The reason I used this name, is because when I tried ...
-1
votes
0answers
21 views

get command not found-unable to send file from ubuntu desktop to ubuntu server

I am currently trying to send files between my server ubuntu vmware machine and my desktop vmware ubuntu machine which are under different ip addresses and usernames. I am able to send to the desktop ...
0
votes
1answer
60 views

SCP without password prompt using different username [duplicate]

I have 2 servers, Server1 and Server2. On Server1 I have a user named user1. On Server2 I have the user named user2. I need to be able to write a script that runs on Server1, which will scp some ...
1
vote
1answer
21 views

Restrict SSH login to local network: VPN connection not allowed

There are two (unix) users who are allowed to connect to my Debian Wheezy server using ssh: git and peter. While git is allowed to connect from everywhere, peter (who is in the sudo group) should be ...
1
vote
2answers
114 views

Remote server randomly hanging on ssh login

I'll try to ssh into the server ssh name@box-a At which point I'll usually be prompted for a password and then it logs me in. Sometimes though, when I try to ssh in it just hangs after I press ...
0
votes
0answers
69 views

When running some X prog. remotely with ssh -X, it says “libGL error: failed to load driver: r600”

OS: CentOS Linux release 7.0.1406 (Core) Kernel: 3.10.0-123.8.1.el7.x86_64 When I run xcrysden (http://www.xcrysden.org/) remotely through ssh -X, it crashes with error: "libGL error: failed to load ...
0
votes
1answer
35 views

Removed id_rsa unable to recreate passphrase

The other day I tried to make a new ssh key on my vps. For some stupid reason I removed the id_rsa file instead of just typing ssh-keygen -p When I now try to use that command it asks me for the old ...
0
votes
2answers
81 views

Script to SSH to multiple Linux Server and execute a find command [duplicate]

I need a script that can SSH to multiple servers and execute a find command to check when was the last time a file was created. I can get the fine command part, but I'm a little bit lost on how I can ...
1
vote
1answer
37 views

killing tunnels for a user connected with ssh -N

I created a forward only ssh connection with the following: ssh -i id_rsa -o TCPKeepAlive=yes -o ServerAliveInterval=10 \ -N -n -R 127.0.0.12:8888:127.0.0.12:8888 fwduser@192.168.1.201 Mow, ...
1
vote
1answer
149 views

Can't connect to a server via SSH (with my PC only)

For some days I'm experiencing issues with SSH on my machine (I guess after having installed some softs that I don't remember... (sic)) It's very problematic as I use Git to work on some code ...
0
votes
1answer
28 views

Looking for effective alternative to ssh-copy-id which fails if you do not have the private part of the key?

To my surprise, I discovered that ssh-copy-id fails if you do not have the private part of the key, making it not usable for deploying someone else key. I an looking for a reliable way to deploy ...
1
vote
1answer
40 views

SSH message, source of a after-login greeting command

On a server previously adminstered by someone else i noticed non-standard after-login ssh message. It looks like this: In case of problems please send an email to ....@..... Disk quotas for user ...