Secure Shell (SSH) is a protocol primarily for encrypted shell connections.

learn more… | top users | synonyms (2)

0
votes
1answer
95 views

Restricting program access in OpenBSD

I'm hosting a svn+ssh repo on a OpenBSD box and wondered if it is possible to deny access to any other programs despite svnserve? The reason is that I want to restrict access to parts of the repo with ...
8
votes
4answers
3k views

How can I create a user only for sftp

I have added a user to the system via "adduser" script. Then, in the /etc/passwd file I tried changing the /bin/bash to /sbin/nologin or to /dev/null with no luck... I would like the user not having ...
1
vote
1answer
652 views

PSDH and SCP to transfer files

How can I use PDSH and SCP to transfer file to my servers (over 200 of them coming from a text file - ips) Also how can I automate this? Have people written scripts for this? Examples?
0
votes
1answer
1k views

http reverse-proxy on one server passing through ssh/socks proxy to second server

There are some web sites that I can only access from a limited set of machines, but I can ssh into some of these machines (only as a regular user) and use ssh -D to set up a SOCKS proxy on my local ...
4
votes
3answers
4k views

How to view who owns a file?

I know to change an owner you put chown user:group file but what if I want to see who owns a file? The issue I am having is I created a user at /var/www/new-user but when he uploads new files ...
3
votes
2answers
573 views

Key authentication not working when using ssh or rsync as sudo

I have ssh RSA key authentication setup between a client and an ubuntu server (following this procedure): -the RSA key authentication for ssh and rsync work fine (no need for password). -the RSA key ...
3
votes
1answer
297 views

Can I spy on an X-session if I am logged in as root?

If I were logged into a remote machine as root with ssh -X, how would I go about viewing a particular X11 session that another logged in user was using? (that includes solutions such as remotely ...
9
votes
3answers
2k views

Logging a “persons” activity in Linux

So I've read many of the posts related to this and have just come up more confused than before. There are recommendations for various tools including ttyrec, snoopy, acct, rootsh, sudosh, ttyrpld, ...
2
votes
0answers
67 views

secured (relayed) NX setup

I am constructing a "secured" NX environment, and need some help. The situation is: there are 3 machines, A, B, C, where B is the "gateway" between A and C, in another word, A and C can never ...
0
votes
1answer
109 views

ssh key requires passphrase after viewing it

I'm running a tinycore machine that I store my code on before pushing it to github. This is also the only machine that has port 22 forwarded at home so I have to do the push from this machine due to ...
8
votes
6answers
560 views

First time opening an SSH server to internet, what to check

I've been running a few servers for a relatively long time, but I always only rented them, so I don't have much experience securing the actual server (as opposed to the application I'm running on it). ...
3
votes
3answers
775 views

How do I use git-push --mirror with git-shell in SSH?

I am attempting to setup a mirror-to-backup hook in our repositories. The hook is executing a git push --mirror backup@server:path/foo.git. However it fails stating: fatal: What do you think I am? A ...
1
vote
3answers
3k views

How to connect to ssh with .ssh directory?

My co-worker sent me a '.ssh' directory with files in it. He said that I can put that directory in my user directory then connect to ssh without password (ssh root@ip). I put that directory in my ...
5
votes
2answers
770 views

SSH keys: why is id_rsa larger than id_rsa.pub?

My private key (~/.ssh/id_rsa) is a 1766-byte file, but my public key (~/.ssh/id_rsa.pub) is only 396 bytes in length. Why the massive difference? Is it because the private key is encrypted using AES? ...
2
votes
2answers
577 views

Eucalyputs Instance SSH not working, though server is running and port is open

I just installed a private Ubuntu Enterprise Cloud with Ubuntu Server 11 (based on Eucalyptus 2) and managed to get everything working (in System Mode, so the instances get an IP from our DHCP. ...
1
vote
1answer
48 views

SSH with the -F option returns me usage

I want to create a config file and tell ssh to deal with it. I don't want to use ~/.ssh/config because these are config files per project and not per user. So I'm trying to roll with: ssh -F ...
14
votes
6answers
14k views

protocol version mismatch — is your shell clean?

When following the instructions to do rsync backups given here: http://troy.jdmz.net/rsync/index.html I get the error "protocol version mismatch -- is your shell clean?" I read somewhere that I ...
0
votes
1answer
585 views

SSH / SCP connections to Ubuntu server blocked from one remote host but not others

I have a server running Ubuntu SE 10.10. Two Windows 7 machines are attempting to WinSCP / Putty into it using the same credentials. Both are definitely connecting to the correct host, but one gets an ...
3
votes
2answers
182 views

Why is hostname lookup in ssh returning a different result?

I have one machine with two ips, Something like this, (/etc/hosts) 10.204.65.18 blahdb01.us.oracle.com blahdb01 10.204.63.56 blah01.us.oracle.com blah01 Now, whenever I do, ssh blah01 ...
9
votes
2answers
484 views

Any options out there for kerberized ssh client on windows?

Are there any good (reliable / free) ssh clients that work easily with Active Directory authenticated accounts in a Windows environment? Ideally that wouldn't need the Kerberos for Windows package? ...
0
votes
1answer
139 views

what is going on with ssh

I used this command iptables -A INPUT -p tcp --dport 22 -j DROP because i was trying to stop port 22 outgoing since i was getting a warnings from amazon and now i cant ssh in....what do i do
1
vote
2answers
551 views

Restrict access to specific ports

I launched keep launching EC2 instances and for some reason i keep getting this email and then the server amazon shuts the server down...How do i restrict access to the port in question... here is my ...
7
votes
3answers
712 views

SSH key management software? [closed]

I'm trying to find good software to handle SSH keys in my organization. So far I've found keymaster by Envylabs. SKM by Jerome Boismartel. Both could be option if we had only couple of users but ...
3
votes
1answer
285 views

SSH port forwarding with a master channel

I'm trying to set up a reverse port forward over an existing master channel, but it doesn't seem to be working and I'm not sure why. I set up the master channel like so: ssh -MN ...
3
votes
5answers
4k views

How to run a PowerShell script from Cygwin SSH session?

Hi I have Windows Server 2003 with CopSSH installed on it ( Cygwin + sshd ). W would like to be able to run a PowerShell script via SSH session command and then use it's output. Is there such ...
3
votes
1answer
440 views

Good Terminal Manager for Windows 7 with Fullscreen mode

I need a good terminal manager for Windows with ssh support that will have a fullscreen terminal mode so that i can switch to fullscreen and see only the terminal content without any toolbars etc. ...
1
vote
3answers
270 views

SCP to a server where I have SSH permission

I am trying to SCP a file I downloaded using this command: scp -v agenadinik@slabrams-desktop:/home/agenadinik/Downloads/agraph-4.2-linuxamd64.64.tar.gz ...
2
votes
3answers
646 views

SSH with Putty default path

When logged in to the server I don't want to cd /path/to/directory every time I connect to the server. I'm connecting via Putty. I've tried to execute a command once connected to change the ...
1
vote
5answers
93 views

ssh and username

I dont understand the security in this statement: SSH does no user-name matching only public key to private key matching. This is in reference to a previous post of mine where I can be user "svn" but ...
0
votes
1answer
3k views

How do I create a guest ftp user and give access to specific sub-folder with SSH?

I just got a virtual dedicated server at GoDaddy. I got the Simple Control Panel. There doesn't seem to be a way to create a guest ftp user through this control panel and I was told it must be created ...
0
votes
2answers
712 views

SSH connection reset on CentOS

my SSH connection disconnect each time someone else is accessing the server from remote with SSH. if I would like to connect again I'll need to the verify the SSH key all over again and the other ...
1
vote
3answers
461 views

Fail2ban advice on banning IP's and HTTP

I've recently installed fail2ban as a way of keeping one of our web servers secure from SSH attacks and HTTP attacks. At the moment I'm getting a lot of ssh attacks but fail2ban are banning and then ...
0
votes
3answers
436 views

Turn on a Linux machine remotely [closed]

My previous laptop is in really poor physical condition, so my plan is to leave it at home as a scraping server (accessed by ssh). How would I remotely turn it off/on? (or do anything else like ...
2
votes
1answer
748 views

Ubuntu: add SFTP only user with access to directory inside another user's home directory

I have a server with multiple sites hosted in my user directory /home/[user]/public_html/[site directories] and so I have access over SSH/SFTP. I now have somebody working for me and want them to be ...
5
votes
2answers
5k views

SSH Connections freezing with “Write failed: Broken pipe”

I am connecting to a CentOS 5.5 box via SSH from a Ubuntu 11.04 machine. The connection appears to work as expected when it is in active use (i.e. no lag or loss), but if it is left inactive for a ...
0
votes
1answer
97 views

Setup proxy server on remote host using SSH?

I need to be able to browse the web with Firefox using the IP from my dedicated server. Is there a way I could do this without having to use SSH on the local machine? I mean, I want to setup the ...
0
votes
2answers
148 views

secure methods of automating file transfer via scp

Yesterday I asked a question about restricting access via ssh, and I was advised to have my machine access the data on the public workstation. As an unfortunate necessary follow-up to that, how can I ...
3
votes
2answers
1k views

ssh still accepts password authentication despite being configured for public-key only authentication (which works!)

I have configured an Ubuntu 10.04LTS desktop install to only allow public key authentication. RESULT: public key authentication works perfectly! QUESTION: The problem is that despite being ...
3
votes
2answers
138 views

OpenSSH takes 10x more RAM?

I've just upgraded the OpenSSH server version on my VPS from 4.3 to 5.8. For a reason each SSH session I make takes now at least 40MB Ram (It took 3-4MB before the upgrade). My VPS has only 64MB Ram ...
1
vote
1answer
864 views

How can I make a user and give read only access?

I need to give SSH read only access to a certain directory so they can look at my PHP code. The directory is /var/www/html/websitenamehere/ How can I make a user and let them login via SSH to see ...
1
vote
3answers
95 views

restricting access via ssh

We have a data processing workstation that's shared by a number of users. I would like to set up a script on that machine to process my data and then copy it it back to my personal machine afterwards. ...
2
votes
1answer
841 views

OpenSSH suddenly went into “hash mismatch”?

The openssh server was running normally in my vps and today it suddenly breaks. Any attempt that I connect from my PC or other places to it results in the following error: hash mismatch ...
3
votes
3answers
13k views

ssh client problem: Connection reset by peer [closed]

I'm having a really annoying problem on my Ubuntu laptop. I noticed it today, after upgrading to Ubuntu 11.04, although I'm not entirely sure this is the cause as I played with my ssh keys a few days ...
0
votes
1answer
97 views

Trouble connecting to a local machine through a remote server

I'm trying to scp something to my local machine from a remote server. At first, scp complained that there was no route to host through port 22, but then I forwarded that port on my router. Now, I try ...
1
vote
2answers
791 views

PuTTY SSH Connection to a Ubuntu 10.04 Desktop, Pressing Enter (either) in a Man page sends 'ESCOM' instead of CR/LF

I'm trying to perform a search in a manpage, which requires the Enter key to achieve. However pressing it displays the word ESCOM instead of the desired function. The Enter key works as it should in ...
1
vote
2answers
610 views

Free sshd for windows [closed]

I'm not too keen on installing cygwin on my servers just to have sshd support. Can you recommend standard-compliant, and preferably free, alternatives to OpenSSH on Windows servers?
0
votes
5answers
163 views

Listening on port 22

Is there any way to listen in on port 22, on my server, to see if anyone submitted any commands while ssh'd into my server? Or rather, output what commands were submitted (and the ip address of who ...
6
votes
2answers
3k views

How to revoke an ssh certificate (not ssh identity file!)

I've generated an ssh certificate like this: ssh-keygen -f ca_key # generate a ssh keypair for use as a certificate generate a host key ssh-keygen -s ca_key -I cert_identifier -h host_key.pub ...
0
votes
2answers
1k views

I have the private DSA key in PEM format. What do I do next to access SSH without a password?

I have the private DSA key in PEM format. What do I do next to access SSH without a password? Sample certificate in PEM format: ...
2
votes
2answers
307 views

Know of a trick to sustain quiet ssh connections from firewall auto-disconnects?

Our enterprise firewall is configured to disconnect ssh connections after 30 minutes of of inactivity. Sometimes, I need to perform an operation on a server that requires a sustained connection ...