Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
1answer
20 views

protect the known_host file from writing - good or bad idea?

I want to protect the known_host file from writing So I want to perform the following steps on my Linux red-hat server Cp /dev/null /root/.ssh/known_hosts chattr +i /root/.ssh/known_hosts I want ...
0
votes
2answers
41 views

Cannot login to one specific Linux server with PuTTY private key

I use a single private key to login to several Linux servers using PuTTY. When I need to login to a new machine, I first log in by password authentication and then add my public key to ...
0
votes
1answer
15 views

ZFS send/recieve over ssh on linux without allowing root login

I wish to replicate the file system storage/photos from source to destination without enabling ssh login as root. I've tried a number of different combinations such as: sudo zfs send -R ...
0
votes
1answer
12 views

Does SSH only use a key named id_rsa?

I created my own key named my_ssh_key_rsa, followign the steps illustrated here: http://www.linuxproblem.org/art_9.html Even though I added it correctly to the authorized_keys file on the remote ...
0
votes
2answers
30 views

ways to ease remote Unix server adminstration tasks

We have a dedicated CentOS server running Apache, PHP, Mysql. I'm normally on a remote Windows 7 machine, and I use Putty to SSH into the CentOS server. Time and time again i find myself having to ...
0
votes
0answers
40 views

SSH Keys with Codeanywhere and Bitbucket

Maybe I am understanding the concept wrong, but I am not able to find an answer on google, or the respective websites from the question. I have a multiple private git repositories that are hosted on ...
1
vote
1answer
9 views

ssh-add -D deletes keys on originating host

I have an ssh-agent running on my macbook. I use ssh -A and carry the keys forward to my redhat box. The thing that surprises me though is that when I do a 'ssh-add -D' on the redhat box, the keys ...
0
votes
0answers
14 views

Remote Access SMB or AFP

I'm wanting to gain access to my NAS over the internet. I have always used a VPN Server, never been an issue and works great! Now however, my college IT Guys have decided that they are going to use ...
0
votes
0answers
10 views

Established connection on VPS not appearing in tcpdump

I'm running the kippo honeypot on port 22 with my actual ssh on port 2999. netstat Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 ...
-2
votes
2answers
34 views

Difference between VPN and SSH? [closed]

What is the difference between connecting to a remote system via SSH and connecting to a remote network via VPN? For instance, if I can connect to a remote machine on another network via SSH, why the ...
0
votes
2answers
28 views

How much can a system administrator see?

I have Cygwin installed on a Windows system. From Cygwin I SSH into some other system that is not part of the network. Does the system administrator know that I am connected to this remote system?
0
votes
1answer
40 views

SSH Connect to Domain that points to different IP

A bit of background info, first: I have a domain that is configured to run a mail server, iRedadmin, postfix, etc. I can receive and send email and everything works great. The problem lies in the ...
0
votes
1answer
40 views

ssh ForceCommand with Match

I try to setup a ssh server which is a kind of jumping host to other servers reachable via ssh. For that I use the ForceCommand like this: Match Group g_ssh ForceCommand nc -q0 my_internal_server 22 ...
1
vote
2answers
31 views

Wrong exit status upon evaluation of command substitution via ssh?

I've the following simple shell command which I'm expecting to fail and it does on my local: $ DIR=$(false) && echo ok || echo fail fail $ sh -c 'DIR=$(false) && echo ok || echo fail' ...
0
votes
0answers
14 views

ant <scp> support for ssh-agent

I have an existing build.properties file that uses scp like this: <scp todir="${linux.user}@${linux.site}:@{todir}" keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}" trust="yes" ...
0
votes
1answer
46 views

SSH Permission denied(public key,password)

I have two Linux machine one is consider as master(192.168.8.70) another one is slave(192.168.8.161). In both machine i installed openssh server.And i create an RSA key pair in both linux machine with ...
0
votes
1answer
32 views

SSH into Homestead Using Git Bash on Windows Characters Not Displayed Properly

After running: homestead ssh and logging into the VM everything looks okay until you're typing certain commands or viewing command results where the characters aren't rendered properly so you get ...
1
vote
1answer
61 views

PuTTY exits after entering password (log : “This account is currently not available”)

I'm new to the SSH console. After entering the IP address, port and password my hosting provider supplied me with, the PuTTY console exits immediately. When I enable logging to "All session output" ...
1
vote
0answers
12 views

Optimal server security configuration [closed]

What would be the optimal security configuration for a production Linux server in terms of user access? Here is my suggestion: ssh authentication: yes password authentication: no root user without ...
0
votes
2answers
68 views

Using PuTTY private key for new user on AWS EC2 Server

I started an AWS EC2 instance. I can connect to my instance with the user ec2-user using the SSH private key generated by Amazon. I followed the directions at: ...
0
votes
1answer
33 views

Server refuses SSH key provided by KeeAgent plugin of KeePass

I am using KeePass2 and KeeAgent on Windows and attempting to connect to a Linux box using Putty and pscp. I have configured KeeAgent per these instructions: ...
0
votes
0answers
36 views

Force all traffic through proxy

My scenario is like this: I connect to my university server from my home (using Bitvise, Putty or SSH). I enabled SOCKS/HTTP proxy forwarding. I can configure my internet browsers to use this proxy ...
-2
votes
0answers
22 views

Forward port 22 on router

So I've been wanting to be able to remotely ssh into my computer at home, but I don't know much about routers or port forwarding. I am on OS X, and I know I can forward port 22 using systemsetup ...
0
votes
2answers
18 views

Terminal hang after entering login SSH password on server. Did I just got hacked?

I was doing routine maintenance on my server. As usual, after connecting successfully to my server on port 22, I was shown a login prompt: $ ssh admin@1.2.3.4 admin@1.2.3.4's password: Seeing no ...
1
vote
1answer
45 views

ssh + sudo + su into login shell

I have several machines I ssh into regularly only for the purpose of using sudo su to spend the rest of my session logged in as some special-purpose user. The general workflow is: mymachine:~ me$ ssh ...
0
votes
1answer
54 views

X11 Forwarding over ssh - Could not find ':' in DISPLAY: 1

I'm trying to connect from my mac (Xquartz installed) to a ubuntu server. I use the -Y option with ssh. When I ssh to the server and run any graphical application for example xclock, I get the ...
0
votes
1answer
37 views

Can't connect to home network from school

So, I set up an SSH connection to a computer on my home network. The port-forward directs from port 8001 to 22 on the computer. The connection works fine externally, but in my schools public network ...
0
votes
1answer
43 views

To use ssh-id-copy do you need both id_rsa.pub and id_rsa?

I am trying to setup a second access ssh key for a friend. He sent me his id_rsa.pub. ssh-copy-id -i id_rsa.pub root@123.123.123.123 /usr/local/bin/ssh-copy-id: ERROR: failed to open ID file ...
0
votes
0answers
37 views

setup socks proxy on vps with multiple IPs for specific users

I have a VPS centos7x64 with 17 IP's. 16 of them is ipv6. What I want is 17 ssh socks proxies for 17 users, so lets say user15 would get 15th IP from total list of 17. First user will use my only ipv4 ...
0
votes
0answers
14 views

Unable to port forward to VM through loopback (127.0.0.1)

I have a somewhat strange issue on my PC where I am unable to reach a Virtual Box VM with port forwarding through 127.0.0.1. It will however work through 127.0.100.1, or 127.x.x.x for that matter. I ...
0
votes
1answer
22 views

An interesting case study regarding permission.

We have two users. Tom and Jim. System using krb5 and sldap. Tom$ ssh machine1.somecompany.com Password: Permission denied (publickey,gssapi-with-mic,keyboard-interactive). ////// Jim: ssh ...
2
votes
1answer
32 views

Known hosts file keeps getting deleted

Have a weird issue where my known_hosts file is getting deleted periodically. Is there any way I can watch the file to see what may be deleting it? Any OSX logs that can be monitored to see what might ...
0
votes
1answer
46 views

cannot rsync via ssh from crontab

I'm having issues transferring files with rsync via ssh. If I just run rsync -avz devel@10.10.10.83:/home/devel/ $/home/user/rsync/servidor it works as expected since the public key is stored in ...
0
votes
0answers
21 views

CygWin SSHD: Administrators have no permissions/ownership over new files

I have CygWin 64 bits (updated to January 2015) with SSHD installed. If I create a new file in Windows 7 SP1 shell: cmd echo "Test" > Test.txt Those are the permissions for Test.txt file: But ...
0
votes
0answers
29 views

cannot SSH into VirtualBox from host, can SSH from other machines

I have a weird situation where I can SSH into my VM from another machine on the network, but not from the host itself. Vital stats: Host: OS X Yosemite Guest: Ubuntu 14.04 VirtualBox version: 4.3.16 ...
0
votes
3answers
45 views

Is there a way to determine which user ran a command in bash history?

We work on CentOS servers available to over a hundred employees via SSH, each with their own login. Running a normal history bash command shows all of the commands ran by all of the employees, however ...
0
votes
1answer
22 views

is there any way to enable telnet/ssh session into a Netgear CG3700EMR

I want to enable Wake on Wan (Wol from internet) with my router, but i have no chance to modify arp table in order to specify a fake address which could receive this broadcast packet. So, is there ...
0
votes
1answer
44 views

Use shell provided by non-root user

What is a good way for a non-root user to use an executable that is not in the system's list of shells as if it were the user's actual shell? I'm trying to do this with two different versions of ...
0
votes
0answers
14 views

SSH login notify connections with exceptions

I'm trying to create a bash script to send me a mail when there is a ssh connection recepient="name@example.com" if [ "$PAM_TYPE" != "close_session" ]; then host="`hostname`" ...
0
votes
0answers
15 views

Incosistent behaviour of GNU screen when run from local machine or ssh

I have noted the following incosistent behaviour of screen. I run screen -dmS test screen -S test -X stuff "ls -lh^M" The first line starts a screen session named "test", and the second line ...
-1
votes
1answer
34 views

How to run remote linux command that won't stop after closing shell

There is a Linux terminal command that I want to run on a remote machine. I can ssh to the machine and begin executing the command (it's output being directed to an output file); however, once I ...
4
votes
3answers
124 views

How to find Raspberry Pi on Network

I have a Raspberry Pi connected to the Internet via LAN or via wireless. How do I scan my local network for its IP address so I can SSH into it? While I can just connect it to a monitor and manually ...
1
vote
1answer
19 views

netstat showing multiple responses for single listening process

Why does netstat -lntp show multiple responses as 0.0.0.0:22 & :::22 for a single sshd process? Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program ...
0
votes
2answers
31 views

Running scripts independently on Raspberry Pi

I have a couple of python programs, such as one which checks if the Collatz Conjecture is applicable for a given number or not, and writes output to a file (it runs on a Raspberry Pi). Although I ...
-1
votes
0answers
41 views

OpenSSH for windows using /cygdrive/g/.ssh as home folder

My problem is simple. I just installed OpenSSH ( I also have cygwin, but I need to have the windows command line ssh.exe working ) . When doing ssh -T git@github.com I see that ssh.exe is trying to ...
2
votes
3answers
295 views

As a user with a home server, is it particularly bad or dangerous to open port 22 to my server?

I have a CentOS home server that I use for various things, which sits on my home network behind my router. Normally when I want to do something remotely I will VPN in (my router has a built-in OpenVPN ...
1
vote
0answers
14 views

cannot see files from SSHFS

I followed the instructions provided by digital ocean to mount an SSH connection using sshfs and macfuse. It is working from the commandline I can see the remote folders in /mnt/mydir But in Finder ...
2
votes
1answer
15 views

cygwin does not use $HOME as home [closed]

On my Windows system, I have set the HOME environment to %USERPROFILE% which is my current Windows user home directory. After I started the cygwin terminal, I can see my cygwin HOME is ...
1
vote
1answer
36 views

SSH hanging after accepting public key

I'm getting strange behavior from ssh. I'm trying to log in to an ssh user named 'nfs' (e.g. ssh nfs@example.com) and it accepts the public key, but hangs. The contents of ssh -vvv immediately ...
0
votes
1answer
48 views

Strange Vim/terminal use from ssh via Mac OSX

I am using terminal from a Mac OS X 10.10 (Yosemite) and SSH’ing into a fedora machine and am having a couple strange issues with the terminal: When I :q from vim, the contents of the vim screen is ...