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

learn more… | top users | synonyms (2)

2
votes
0answers
571 views

RTP Streaming with VLC and remote control

I'd like to set up a remotely controlled (through SSH) streaming server with VideoLAN VLC. I managed start the RTP stream through SSH with the command: cvlc v4l2:///dev/video0 --sout ...
1
vote
1answer
402 views

Cygwin: Run SSH.exe (without cygwin.bat) with a keypair

I have a box I'm trying to create an SSH tunnel to using a keypair without a password. If I run cygwin.exe and generate a keypair without a password using ssh-keygen and put the public key on the ...
1
vote
1answer
279 views

Create a DB via SSH that will appear in CPanel

I have a linux VPS. I want to be able to create a database via SSH and still have access to it via CPanel. I tried creating a database using create database myDB and it did create it and I can see it ...
3
votes
3answers
235 views

Is there a way to forward my .ssh/config file to an ssh connection?

There is a way to forward my private keys to the server im connected with the ssh -A option. Is there is a way to forward the .ssh/config file as well? Its where I keep host aliases and default ...
1
vote
4answers
123 views

issue with openSSH

I am having wierd issue with openSSH connecting to remote server. I can connect it with userID and password, but when I use the public key authentication, it shows the following lines in the ...
1
vote
1answer
396 views

CopSSH control panel overwrites sshd_config

I'm testing an instance of CopSSH on my local machine to get ready to implement an SSH server that will allow our development team to start using Mercurial over SSH. The CopSSH control panel is a ...
0
votes
2answers
106 views

ssh - keys and password

I've gotten keys (certificates) working correctly, but as it is, it's more of a "convenience" thing. (which I love). But as far as security, someone can still use a password to login. What's a good ...
3
votes
1answer
247 views

Accessing X with xauth and ssh -X to my VPS?

I have an application I wish to run on my VPS (a web browser actually, iceweasle or similar) and do not really want to install a full blown X server on there for practical reasons. I have read I only ...
3
votes
3answers
12k views

ssh_exchange_identification: read: Connection reset by peer

I've got an odd and urgent problem. I'm trying to connect to a vendor's ftp site. I have tried connecting from multiple places. I've found that I cannot connect from my production server1 but I can ...
-3
votes
1answer
370 views

Passive ssh/telnet server?

I want to set up a Ubuntu openssh (or telnet) server where the network environment is can connect to any other host via any tcp/udp port. but cannot accept incoming connections from other clients. ...
0
votes
1answer
140 views

have problem with iptables in the part of ssh

I have blocked all connection with iptables and allowed only the loopback: iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT iptables -P INPUT DROP iptables -P OUTPUT DROP iptables ...
0
votes
1answer
266 views

Automate svn checkout with SSH

I'm trying to automate some process into a machine. In a point of the process I need to create a dir and checkout some files into it. The protocol is svn+ssh, and with a user that is authorized into ...
4
votes
5answers
12k views

SSH / SSHD - How do I set max login attempts?

What is the easiest way to setup max login attempts in a LAMP environment (sshd installed via yum)? Is there a package or simple firewall rule?
1
vote
2answers
2k views

SSH connection problem - allowed from LAN but not WAN

I tried to setup my Arch Linux installation to be an SSH host, but here is the thing: I can ssh localhost, it fails to login via public key and asks for username and password, but still able to ...
0
votes
1answer
210 views

CentOs powered VPS : create a user that can access only ssh and not files

I'd like to give one of my friend access to my server through ssh so he can setup a tunnel and use as a SOCKS proxy (to circumvent pesky per country restrictions on certain website, we're in France) ...
1
vote
1answer
386 views

ssh problem at CentOS 5.6

After installing CentOS, when I try to remote connect via ssh it show an error like this. How can I resolve this? Siam-Wannakosits-MacBook-Pro:~ragopor$ ssh root@192.168.1.10 ...
5
votes
4answers
1k views

Automatically-reconnecting TCP tunnel

I have an unreliable network connection between two machines: sometimes active TCP connections get dropped for reasons beyond my control. I want to establish a reliable TCP connection between the two ...
0
votes
1answer
225 views

Squid, autossh and acl denial

I've got a squid.conf that looks like this: cache_mgr me@example.com visible_hostname example.com httpd_suppress_version_string on via off http_port 3128 transparent acl all src all acl SSL_ports ...
0
votes
2answers
127 views

ssh is not working smoothly. stuck from time to time…why?

This might be hard ... I have the key ssh user so I normally sync file to server automatically, recently it stopped. Then I tried rsync manually, it stuck there, then I tried ssh , sometimes I can ...
5
votes
2answers
2k views

OpenSSH SFTP with Chroot, how to change password

I have setup up ssh with chrooted directory where users only can use sftp and access a directory and all is child folders. The only problem I have is that I need to let the users change their ...
2
votes
2answers
236 views

my ssh sessions are randomly killed on Debian

I have a Debian 6.0.1 vanilla install, and I use PUTTY to ssh into it. I will usually have 3 or 4 PUTTY login shells running at the same time. What I'll find is that if I leave my computer for a ...
1
vote
1answer
77 views

SSHing to my server return a “This account is currently not available.” error

First of all, the server was working fine and I connected on it quite often but all of the sudden by database server stop responding and I tried to ssh to the server to see what was wrong and I got ...
1
vote
4answers
724 views

how to create a user with access to one home folder for read and write?

I need a user with specific homefolder. This user should read and write in his folder. And he cant read any other folder in the server.
1
vote
6answers
719 views

Ubuntu 10.04 Proxy Server and SSH Server: am I forced to disable ssh to improve security?

I have a Ubuntu 10.04 proxy server exposed to the internet and I have SSH Server on it to manage it from internal LAN and from remote. It feels simply unsafe, even if I'm using strong passwords... I ...
6
votes
3answers
14k views

How to use openssh sftp command with a RSA/DSA key specified from the command line

The Openssh ssh and scp command provied an -i command line option to specify the path to the RSA/DSA key to be used for authentication. Looking at the sftp man pages I was not able to find a way to ...
-1
votes
2answers
432 views

Cisco PIX 515E Remote SSH

What configuration lines/steps are required to enable WAN side SSH for the Cisco PIX? In addition what considerations should be made to ensure your connections are secure?
23
votes
4answers
25k views

What does “Warning: untrusted X11 forwarding setup failed: xauth key data not generated” mean when ssh'ing with -X?

When I use ssh -X on my Mac (running OS X 10.6.7) to connect to my Ubuntu (11.04) box, I get the following warning: Warning: untrusted X11 forwarding setup failed: xauth key data not generated ...
7
votes
2answers
162 views

Still worthwhile to firewall/filter ssh access except from specific IPs?

A number of years ago now, there were several remote exploits for OpenSSH which prompted many admins including myself to start filtering port 22 at the network perimeter, permitting only IP addresses ...
0
votes
1answer
548 views

2 linux boxes, proxy and ssh tunnel

problem: I need create ssh forwarding to other linux box that works as a proxy. I have two linux boxes(centos 5.5), one in the office(server1) behind firewall, other at colocation(server2) server1 ...
1
vote
3answers
797 views

Putty: ssh root login to server disabled, how i can setup passwordless access to root on server?

For added security, we've disabled root login to server via ssh. We have a special ssh account that users need to login as, and then su as root in they require root access. How can we setup ...
4
votes
1answer
2k views

How to restrict SSH /SFTP User to a sub folder of an apache website?

I'm currently setting up apache on a Linux server and need to create a new user which can log in and only edit files in a particular directory. I currently have my website set-up as ...
3
votes
1answer
143 views

In order to ssh into my ec2 instance, I need my public key

Is it possible to associate multiple key pairs to the EC2 instance that I can give to other people for access?
4
votes
2answers
606 views

Enable Remote Login (SSH) without GUI on a Mac

I'm having an issue with my Mac where it's freezing on the initial login. How can I enable ssh without using going into system preferences, etc.
0
votes
3answers
838 views

I lost access to my webserver with FTP and SSH, What can I do?

I have a weird issue, I've been using this webserver for months without problems, but this morning I accessed with FTP to move some files, and then every time that I wanted to download or upload files ...
1
vote
1answer
366 views

Does Mac OS X Cache Private Keys for SSH?

I have SSH key-based authentication setup to connect to a remote server from my Macbook Air. The private key was originally stored in ~/.ssh/id_rsa, but I have since moved that file to a secure ...
0
votes
2answers
83 views

Are there any incompatibility issues when running cygwin sshd on a windows 2003 domain controller?

I am asking for incompatibility here. Safety was already covered in that question.
2
votes
2answers
473 views

How can I logout users when reboot/halt over ssh, but so that their .bash_history is saved?

When I reboot my server over SSH, the session just hangs instead of nicely logging me out, so that I can continue to use the current terminal. I tried the following to fix this: ...
0
votes
2answers
1k views

copssh: SSH “connection refused” on one machine, successful on others

While I can connect from a client to the server (openssh <servername> prompts for login info), I get "ssh: connect to host <servername> port 22: Connection refused" on another one. Being ...
0
votes
1answer
189 views

setting up gitosis: avoiding duplicate user keys

i'm following this guide to setting up gitosis. i run all this on the git server, including creating credentials for my user (in the git server) with the ssh-keygen -t dsa step now, from some other ...
0
votes
1answer
204 views

Unable to ssh with fedora

I'm new do Fedora and when ever I install the operating systems I am never able to ssh. Whenever I do something like ssh [email]git@github.com[/email] , I get this error Could not resolve hostname ...
2
votes
1answer
584 views

Via logwatch, I get messages that root is opening sessions “-> nobody”. Is this a security concern, or normal operation?

Here are some lines from logwatch: pam_unix sshd: Authentication Failures: root (211.167.103.115): 5 Time(s) unknown (219.239.110.139): 1 Time(s) Invalid Users: Unknown Account: 1 ...
2
votes
1answer
3k views

Set default umask for everything in Debian Squeese, included sftp

How can I change the umask for ssh and sftp in debian squeeze. I have changed the umask from 022 to 002 in /etc/profile and /etc/login.defs and modified Subsystem sftp ...
0
votes
1answer
1k views

sshd on mac does no longer accept connections in inetd (-i) mode, but does in do not detach mode (-D), how to fix?

Some weeks ago ssh login was no longer possible to a remote Mac. Problem started occuring around upgrading Webmin to version 1.550 and/or changing settings using webmin. Using: * Mac OS X 10.6.5 + ...
2
votes
1answer
236 views

general ssh security - certificate authentication

I've used this article: http://developer.apple.com/library/mac/#documentation/MacOSXServer/Conceptual/XServer_ProgrammingGuide/Articles/SSH.html in order to help set up ssh certificates (I'm on mac os ...
5
votes
4answers
970 views

How to check file permissions via SSH

To start out I am very new to this so please forgive me if this is extremely basic or I sound overly uninformed. I would like to check all the files in a specific directory on my VPS to ensure that ...
0
votes
1answer
85 views

Proxy setup question

I want to be able to access a website that is IP restricted outside the UK from my cable DSL in Germany. A friend of mine set up a proxy server in the UK that whitelists my dedicated Debian server at ...
1
vote
1answer
83 views

LDAP for 8 machines and 4 users

I'm currently administering about 8 server machines running Ubuntu. Right now, the 4 people with authority to ssh to the systems all share the same private key. This was fine when it was two people ...
2
votes
2answers
162 views

Why are SSDs less tolerant than RAM to rewrite cycles? [closed]

It's well known that SSDs have a fairly short lifespan. From what I understand, they fail after many re-write cycles; when each bit stored changes as information is moved, replaced, and in some cases ...
3
votes
3answers
2k views

Passwordless SSH not working

I have set up passwordless ssh authentication (via authorized_keys) numerous times successfully and with ease, usually on servers that did not have any custom ssh-related configuration changes prior ...
1
vote
2answers
142 views

Is it possible to SSH a remote server using 2 different private keys for same user?

___ ___ | | (connecting using "hxsr") | | | A | -----------------------------> P1 | B | |___| -----------------------------> P2 ...