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
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
31 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
79 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
13 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
18 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
39 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
31 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
50 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
78 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
33 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' ...
1
vote
0answers
25 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
81 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
92 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
79 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
13 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
171 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
63 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
57 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 ...
0
votes
2answers
45 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
88 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
113 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
41 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
63 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
67 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
24 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
26 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
39 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
58 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
34 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
3answers
134 views

Cannot SSH into VirtualBox guest OS from host OS, but can SSH from other guest OS 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
48 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
30 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
45 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
17 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
18 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
49 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
179 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
28 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
80 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 ...
2
votes
3answers
333 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
16 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
16 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
52 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
2answers
77 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 ...
0
votes
1answer
25 views

ssh into fedora inside virtual box over internet

I am running fedora server in a virtual box inside a windows 7 host. I can ssh into fedora from this windows 7 host. How ever, I stay out of my place most of the times with a laptop at my disposal, ...
0
votes
0answers
37 views

Linux virtualbox machine ssh from host

I've recently created a CentOS 6.5 Virtualbox machine. (Portable-Virtualbox) This is currently a replica of the CentOS 6.5 desktop that I use as a file server. In order to use this Virtualbox CentOS ...
0
votes
0answers
24 views

Screen: user session closed, why?

For a couple of years now have been relying on a bash script that invokes a java server process via screen; until last night it has run flawlessly, just ssh into remote server >> sudo screen >> invoke ...
0
votes
0answers
9 views

Access remote applications with console

I am accessing my remote desktop (OSX) by ssh (my local computer is also OSX). Everything is working fine but suppose now I want to access my remote current gmail sessionsfrom the console. Is there a ...
0
votes
1answer
22 views

Raspberry Pi - SSH forbidden

I've been using MySQL Workbench to add a few databases to my raspberry. However, when I turned it on and on again, it wouldn't let me allow logging in again. bash: /etc/profile: Permission denied ...
1
vote
0answers
18 views

Follow current window in screen -x

Using screen -x (after connecting over ssh) from a second computer is a great way to follow what someone is doing in a terminal. However, if the first person changes the screen window (C-a p or C-a ...