-2
votes
1answer
73 views

How to ssh localhost login without password [closed]

My os is OSX.When I do ssh localhost, always ask password to me.But I don't know password.How to login without password. ➜ ~ rm -rf ~/.ssh ➜ ~ ssh-keygen ➜ ~ ls -lstra ~/.ssh ...
0
votes
0answers
112 views

SSH not working in mac os x

I am using OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 on mac os x. I can't able to connect my LAN machines using SSH after connected VPN(fortinet). Below is the ssh debug trace. OpenSSH_6.2p2, ...
1
vote
2answers
139 views

SSH Tunnel or Reverse Tunnel

I'm trying to establish a SSH tunnel to allow VNC/ARD connections (ports 5900 and 3389). However I'm uncertain about a certain thing: Let's say machine A has IP 192.168.103.1 and has services running ...
0
votes
0answers
30 views

Mac OS X 10 ssh timeout to linux server port 77

My Mac is not able to connect to a remote server, the server ssh port is 77 and if I do the command: ssh -v -p77 rofer117@remoteserver.com.br OpenSSH_5.9p1, OpenSSL 0.9.8y 5 Feb 2013 debug1: Reading ...
3
votes
2answers
247 views

Ssh-add and contacting server unsuccessfully

I forgot how to do this procedure. I did on OSX 10.9.1 run ssh-keygen in my server moved the private-key id_rsa to my laptop's $HOME/.ssh/id_rsa, removed the private key id_rsa from my server ...
0
votes
0answers
48 views

SSH between macs in a local environment, full control on each?

I'm attempting to use my Mac Mini as my "central server" in my local environment and then I develop on it, it runs nginx, php-fpm, etc. Everything is working fine. But I wish to do capistrano ...
0
votes
0answers
38 views

How can I set path for non-interactive user authenticated using LDAP?

On a Mac running OSX 10.7.5, I need to set the PATH for non-interactive users who connect via ssh and are authenticated using LDAP. It's the same question that was asked (and answered) here: Updating ...
-1
votes
2answers
43 views

Unable to SSH into Host [closed]

I am attempting to SSH into my host. I'm using Mac OSX. When in terminal I type: ssh user@hostname I get an immediate error message stating: connect to host xx.xx.xxx.xx port 22: connection ...
-1
votes
1answer
173 views

Write failed: Broken pipe from OSX to AWS

I'm ssh-ing into my AWS box (which is Ubuntu 12.04.2) from my local OSX machine. After successfully ssh-ing into the box using the following command: ssh -i my-cert.pem ubuntu@ I find that after a ...
2
votes
2answers
266 views

ssh-add Has No Effect

I'm trying to add password-less ssh access to my Mac OS X 10.8.3 that acts as a server. I've followed instructions like this: http://osxdaily.com/2012/05/25/how-to-set-up-a-password-less-ssh-login/ ...
0
votes
1answer
154 views

Using authority-given .cer file to login on remote servers on OS X

A few months ago I bought a certificate from a popular certification authority (Certum). I used it to sign emails, but today the admin at my work asked me to connect to our main server via ssh. He ...
0
votes
1answer
175 views

SSH to Mac OS X 10.7

I am trying to SSH from my work computer (Ubuntu) to my home computer (OSX 10.7) that is behind a Belkin router and have so far been entirely unsuccessful. Here are the steps I have taken so far ...
0
votes
1answer
292 views

Error when using Chef on OS X: “bash: chef-solo: command not found”

I have chef installed on my local machine: Mac OS X 10.8.3 I also have chef installed on a remote server: Ubuntu 12.10 x64 Server On the local machine, when I try to execute a command using ssh ...
1
vote
1answer
389 views

How do I write an rsync exclude for a directory tree with names containing spaces?

I'm trying to exclude a directory tree as part of an rsync command embedded in a bash script approximately like this: $OPTIONS="-rl --exclude 'Some Parent Directory/Another Directory'" rsync ...
0
votes
2answers
2k views

Permission denied (publickey) connecting Amazon EC2 via SSH

When I'm trying to connect via SSH. It was ok, but after some manipulations by me :-[ I've downloaded keypairs, copy to .ec2, chmod to 600, ssh-keygen -y -f ~/.ec2/gsg-keypair > ...
2
votes
1answer
531 views

Why does my hosts.deny not work on OSX 10.8? [closed]

For testing it I added these four lines to my /etc/hosts.deny file: # /etc/hosts.deny ssh-agent:ALL sshd:ALL   I waited some time and then I tried to gain ssh access to the loop-back IP address. ...
0
votes
0answers
40 views

git clone from iMac to MacBook Pro error

When cloning a git repository via ssh I get the following error: git clone ssh://user@iMacHost.local/Users/home/git/projects/Stock.git Cloning into 'Stock'... hdiutil: attach failed - No such file or ...
2
votes
2answers
403 views

SSH/SFTP connections fails silently on OSX 10.8.2 - ssh-agent issue

I'm trying to login to a remote machine with SSH or SFTP. when I try ssh u-indgo@ssh1.eu1.frbit.com the CLI just won't respond. I get an empty new line, in which I can type characters, but nothing ...
0
votes
2answers
175 views

Outgoing SSH timing out from Ubuntu

I'm trying to diagnose why an SSH connection is timing out. I have two OSX boxes which can SSH to the remote server fine. I have a two ubuntu boxes, on the same network and subnet which just ...
3
votes
1answer
433 views

SSH 'connection reset' when attempting multiple simultaneous outbound connections to the same host

I have a script that executes a Rake remote task which executes once for each of two roles. Both roles are users on the same Vagrant instance. So essentially the task is opening two SSH connections ...
0
votes
1answer
194 views

Mac Mini stops accepting ssh connections from different network [closed]

I have a strange problem, and I am not very familiar with Mac OSX so I am coming here for help. I have two Mac Minis on a network 192.168.1.* Mac Mini 1 = 192.168.1.10 Mac Mini 2 = 192.168.1.11 My ...
3
votes
1answer
934 views

Wake OSX 10.8 over WiFi (WoWL - Wake on WiFi Lan)

I have a stack of Apple Mac minis running SSH servers for remote login. The problem is that I can't seem to get them to wake up. From what I gathered, as of Mac OSX 10.7 you required to have a boot ...
1
vote
1answer
292 views

ssh login fails for user with empty password [closed]

How do you enable ssh login on OS X 10.8 (Mountain Lion) for a user with an empty password? I've seen others asking this question, and like me it's for the same reason: a parent who can't deal with ...
-2
votes
3answers
222 views

How to have sshd write passwords associated with login attempts in logs?

I would like to gather common login/password pairs. Currently, I have this in my system.log file: sshd[9117]: error: PAM: authentication error for root from localhost via ::1 How can I have the ...
0
votes
1answer
255 views

Having XP VM use my host OSX ssh tunnel to connect to a remote site? [closed]

I am using Mac OSX and have Windows XP running on VMWare Fusion. I'm creating an ssh tunnel from OSX to a remote server, and then trying to have Windows XP use that tunnel (I actually use a program ...
0
votes
2answers
575 views

Mac OS X Lion can't SSH to AWS?

Not sure what I'm missing, but my current company machine is unable to SSH to an AWS instance we have running for a project. Here are the particulars: Other folks in my organization (and from my ...
0
votes
1answer
114 views

SSH “Key Passing” or Why can't I SSH to a server from a box I'm ssh'd in too

Situation: I have a Desktop (Debain Sid) that I prefer to develop on. I have a macbook pro, since we're developing for Mac, that I compile on (Uses Apple SDK's all driven by a scons build so xcode is ...
0
votes
1answer
104 views

Start ssh connection and run in the background

I've set up port forwarding over ssh so I can securely connect to a web console. Since the bash command is pretty long, I want to create a small script that will do the following; Check if there is ...
3
votes
3answers
980 views

hosts.deny ignored by MacOSX 10.8

I have been trying to set up my MacOS X Server, which I recently upgraded to Mountain Lion, to use denyhosts as I need to open port 22 to it. denyhosts is set up and adds entries to /etc/hosts.deny so ...
3
votes
1answer
2k views

Enabled password auth on sshd, now keyboard-interactive auth hangs

OS X System 10.8 if that matters. I enabled password authentication for the built-in sshd, changing the setting for PasswordAuthentication thus: # To disable tunneled clear text passwords both ...
2
votes
1answer
555 views

OpenSSH disable ControlMaster for given hostname

I am using OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011 with Mac OS X Snow Leopard. I have ControlMaster feature configured to maintain persistent connections. My ~/.ssh/config have the following: Host * ...
0
votes
0answers
436 views

Permission denied (publickey,gssapi-with-mic,password) on OS X

I've previously had no problem logging into my server from my current network and laptop (Macbook Pro, Tiger). However, whenever I try to log in to my personal server, I get: Permission denied ...
5
votes
2answers
6k views

Why is ssh agent forwarding not working?

In my own computer, running MacOSX, I have this in ~/.ssh/config Host * ForwardAgent yes Host b1 ForwardAgent yes b1 is a virtual machine running Ubuntu 12.04. I ssh to it like this: ssh pupeno@b1 ...
0
votes
1answer
181 views

Mounting share over VPN

I have a CentOS 5 web server which currently mounts a NFS export on my Mac OS X 10.7 laptop. It works great, except over VPN I can't get it to mount at all. I tried SMBUp but haven't been able to get ...
3
votes
1answer
1k views

SSH ChrootDirectory on Mac OS X Lion (not Server edition)

I'm trying to setup a remote-only user account on my MacBook Pro that is chrooted to /chroot/tmux. I've followed the steps outlined here ...
0
votes
1answer
54 views

How to troubleshoot banned connections on OS X / Ubuntu

I have an ubuntu 11.10 VM running on an OSX machine. Every once in a while some services become inaccessible from specific IPs (e.g. sometimes just ssh is blocked, and sometimes both ssh and https.) ...
1
vote
2answers
565 views

ssh suddenly stopped working on Mac

Everyday I wake up and check the my servers are running smooth, I use my mac to connect to some ubuntu and some freebsd machines. But today when I tried something strange happened: $ ssh -v -p ...
2
votes
1answer
2k views

Improving SSHFS performance when reflecting changes in host directory

I have an SSHFS mount from a Ubuntu Server VM guest, mounting a host Mac OS X directory. Changes made directly in the Mac OS X host directory take approx 5 - 10 seconds to reflect in the Ubuntu Server ...
3
votes
1answer
208 views

Mosh : client stay with “without contact” message

I'm trying to use mosh in replacement of ssh but it doesn't work on my computer. On my Mac (Macos X LION), the client stay with this message and never connect : mosh: Connecting... (10 s without ...
4
votes
1answer
334 views

Why does SSH check permission for the config file in ~/.ssh/config but not somewhere else?

I have an .ssh/config with -rw-rw-r--. I know you're supposed to chmod 600. This is not my problem. What I find confusing is that if I put the same config file somwhere else — say, ~/tmp/ssh_config — ...
0
votes
1answer
969 views

nodename nor servname provided, or not known

I can use this command on my Mac before ssh `cat /my/login/host` but I got the problem of nodename nor servname provided, or not known now.... If i use cat /my/login/host I will get ...
1
vote
1answer
75 views

ssh from username1@client to host using username2@destination

Forgive the possibly simple question, but I cannot seem to find a good solution. A backup job needs to rsync files to a destination host, over ssh. The only login available to me is ...
0
votes
4answers
143 views

Strategy for gaining ssh access without setting up a router

I'm going to need to administrate someone's macbook pro remotely over ssh. Problem is, they'll be moving between networks so I can't just set up port forwarding on their router. What strategy could I ...
0
votes
3answers
113 views

SSH Public Key Authentication Fails Mac OSX

I am trying to get a coworkers MacBook Air running on Public Key Authentication and even after generating a new SSH key I haven't been able to get it to run like I have mine. Double checked file ...
1
vote
1answer
105 views

Do Mac OS X servers have a security mechanism that blocks a user if they log in from two different IPs?

A trusted friend and I had ssh'ed into a Mac OS X Web Server (either snow leopard or lion) from two different locations. Then my password stopped working when trying to log in. I can safely rule out ...
0
votes
1answer
297 views

turning my dynamic IP into a static one using a VPS?

I'm doing development with MAMP on OSX and need to get around a problem I'm having due to my dynamic IP. I'm using a payment API which has an IP whitelist even for development calls and I keep having ...
1
vote
5answers
2k views

How to use a local (OSX) editor to edit remote (RHEL) files?

What's an easy way to be able to edit remote files such as bash scripts? Currently I'm using Vim on the server, but that's obviously not ideal, particularly when lag is noticeable. On Windows, I'd ...
6
votes
2answers
3k views

SSH-forwarded X11 display from Linux to Mac lost after some time

I have a new and vexing problem with ssh forwarding my X11 connection when logging in from a Mac (10.7.2) to Linux (Ubuntu 8.04). I have no trouble using ssh -X to log in to the remote machine and ...
0
votes
1answer
163 views

SFTP on Unix defaults to Key Authentication

This is probably a simple one for all you Unix whiz' out there, but I can't figure it out, so I am trying to sftp into a windows server from the command line, and the remote refuses connection. When I ...
2
votes
2answers
73 views

unable to ssh into local host

I cannot seems to ssh to localhost on my osx machine ➜ ~ ssh -vvv localhost OpenSSH_5.2p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /etc/ssh_config debug2: ssh_connect: ...