0
votes
1answer
19 views

ssh error: connection closed by remote host

When trying to SSH into a particular Mac machine it gives me the following error : ssh_exchange_identification: Connection closed by remote host I have done some google searches on the issue but I ...
1
vote
1answer
18 views

Port Forwarding on Router via SSH

I want to forward 3 ports on my router to a machine with a local IP of 192.168.0.14, via SSH (in the Mac OS X Terminal). If I were to do it manually from my router's preference page it would look like ...
0
votes
0answers
10 views

Mac Terminal - Color Co-ordinated

I would like to create a couple of short cuts on my iMac which ssh on to my dev box and on to my prod box. I would like my dev connection to use the settings something similar to home-brew (green text ...
0
votes
1answer
36 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
0
votes
0answers
9 views

Check if file is being read by remote rsync

I'm working on a script to copy files from one location to another (both are raspberry pis running raspbian). I have it set so that files are rsynced from one to the other (overnight, transferring ...
3
votes
1answer
97 views

SSH suddenly asking for password

Note: this is a duplicate of this StackOverflow question, since ali786 suggested it would be better here. General problem I have my computer (Mac OSX 10.9.4) and a remote server (Ubuntu 14.04.1 LTS) ...
0
votes
1answer
21 views

Can I mount my local (OSX) directory to a remote linux host during my SSH session?

I spend a lot of time using SSH. While using Vagrant, I've found that having a shared folder between my local machine and the guest that I can access from the guest really makes life easier. Is ...
0
votes
3answers
38 views

use windows version of cisco vpn client on linux and osx

I have tried wine, but it crashes before finishing the installation. So I switched to virtualbox, installed the cisco vpn client there, and ssh into the guest win7 os. My question is: Is there a ...
1
vote
1answer
25 views

How to keep sshd alive on MAC OSX?

How do I keep sshd alive so I can connect at any point? I'm not trying to keep an existing SSH connection alive - I can't create it in the first place. Environment: Mac running OSX 10.9.3. ...
0
votes
0answers
14 views

how to avoid the x terminal forwarding

I use our remote server along with a team. apparently they made all the apps automatically do x forwarding. I know this b/c now if i simply want to run a git command git pull I get this error: ...
2
votes
0answers
55 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
0
votes
1answer
37 views

can not load private key using ssh-add

I tried to create a ssh key by doing following command: ssh-keygen -t dsa then it prompts me to enter store path: Enter file in which to save the key (/Users/KesongXie/.ssh/id_dsa): id_dsa after ...
1
vote
0answers
36 views

Firefox won't let me select any kind of script as the protocol handler for an SSH link

I'm trying to run a script when I click on a SSH link in Firefox. I have tried using the protocol handlers in the application section of the Firefox settings. For some reason, I cannot select any ...
1
vote
1answer
33 views

Delayed SSH Connection, Authentication, and Commands

My home computer, a Mac running OS X 10.8.5, normally accepts SSH connections over the Internet (I have port forwarded) but is asleep right now. It sometimes may wake up for various reasons while I am ...
0
votes
0answers
309 views

Why can't I setup an SSHFS share? “OSXFUSE file system is not available” error

I'm trying to setup an SSHFS share from my local machine to a remote machine, but it is not working. I'm getting the error OSXFUSE file system is not available (see below). How to fix this?? FYI, my ...
1
vote
0answers
62 views

I can connect to my SSH server but cannot browse the internet

I have setup an ssh server on my windows 8.1 system as well as port forwarding on my home router and from inside and outside of the network I can login on my macbook using the command ssh -D 8080 ...
0
votes
0answers
27 views

Unable to connect to Cygwin from Mac OS X by ssh

I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error: ./ssh username@hostname -v OpenSSH_6.6, OpenSSL ...
0
votes
1answer
158 views

allow SSH to bypass VPN on OSX mavericks, openvpn, pf

My home computer connects to the internet through an OpenVPN connection. However, I would like to be able to connect to my home computer from outside over ssh. Ssh is set up and working, but when I ...
0
votes
1answer
22 views

Mac OS X set terminal name that persists after SSHing somewhere else

I try advice like this that recommends adding the following to your .profile: function tabname { printf "\e]1;$1\a" } So you can type tabname brokenbox to name your tab. The problem is as soon ...
0
votes
1answer
146 views

Forgot password to id_rsa [duplicate]

I forgot the password to my ssh. I am planning to remove the files (id_rsa, id_rsa.pub and known_hosts) in the directory and starting from scratch. I haven't been using ssh since the whole heartbleed ...
0
votes
2answers
252 views

Command-line access to remote MySQL server

I administer a website on a remote, shared host. My web host offers MySQL, and I am able to access this from my Mac OS X computer using a GUI program, Sequel Pro. That works great. But I want to ...
0
votes
1answer
20 views

How to Scrollback in an SSH Session from OSX (remote) to Windows (Host)?

When I enter an ssh session using 'Terminal' I am unable to scrollback. Changing the scrollback buffer doesn't help. I have a MacBook so I don't have 'Page up/down' and using 'CTRL + A' doesn't work, ...
0
votes
1answer
61 views

How do I display directories in colour on remote systems over ssh via Terminal?

When I do ls in Terminal.app, I see that directories on my local system are in colour. However, when I connect to a remote cluster via ssh, ls output is no longer coloured. Is there a way to have ls ...
1
vote
0answers
69 views

Need to reset OS X terminal AFTER logging out of Ubuntu (ssh + zsh)

I have a problem I cannot understand, and cannot debug for the life of me. I run Mac OS X 10.9.2 (latest) and use Terminal.app and zsh as my shell. A server I work remotely on runs Ubuntu 13.04 and ...
0
votes
1answer
51 views

Copying SSH private keys

I'm using a Macbook Pro and after installing MacPorts my account was messed up and I feel that a reinstall of OS X is necessary. I posted here if you care to read, it's somewhat irrelevant to my ...
0
votes
2answers
33 views

Why do I not have access to defined aliases on the server while connected via ssh?

Why do I not have access to defined aliases on the server while connected via ssh? How can I force the terminal to use their defined aliases?
1
vote
4answers
112 views

How do I forward a port accessible to the world on my Mac?

I realize that there's a lot of info out there about port forwarding, but here's my specific situation. I need to use Remote in (via VNC) to my Mac. By default, the Mac Remote Sharing server listens ...
0
votes
1answer
136 views

mac osx littlesnitch blocking outgoing connections from ssh remote login

I have setup remote ssh access on the rush in my development computer (OSX 10.6.8) before leaving my home for holiday yesterday. It is correctly setup, and I can access it via SSH, logging is as root ...
0
votes
0answers
17 views

Running programs without graphical logon - OSX

I downloaded a program to interface with my scanner (scanline, link). It works perfectly when I use it from terminal. Scanner fires up, image is saved. If I ssh into my Mac from another computer, ...
0
votes
1answer
382 views

Mac OS X 10.9 Mavericks breaks passwordless SSH to localhost (for hadoop)

Sorry if this sounds like a repeat, but I'm fairly sure it's specifically Mac OS X 10.9 related, it works fine for me on my 10.8 machine. I've done everything identically, as usual: $:~ ssh-keygen -t ...
0
votes
1answer
90 views

vim: Text copied into * register disappearing

I'm having an issue where text yanked to unnamed is not available to paste afterwards. This only occurs when I am SSHd in to another machine. Both machines are running identical versions of OS X ...
0
votes
1answer
59 views

Integrating github's public keys API with ssh

Hi, i'm wondering if this is possible and safe, to have my http://github.com/{username}.keys as the default authorized_keys file for my private dev server. So that if I add a new key to github - ...
1
vote
3answers
67 views

start program via SSH as different user

Problem description: there are two Macs, #2 one logged in with exampleuser and #1 I am logged in as admin. exampleuser doesn't have SSH rights at all, as it isn't an administrator. admin has full ...
1
vote
1answer
136 views

Setup headless Jenkins slave to login in mac desktop

There is a main jenkins server which i do not have acess to, which connects through ssh to a jenkins mac slave machine in our office, for mac builds. Since all this is done through ssh, the jenkins ...
0
votes
1answer
146 views

OS X SSH no route to host

I have enabled SSH on a Mac (running OS X 10.9). When the machine first turns on and I run ssh 192.168.1.2 from my remote machine I get no route to host. Subsequently, if I were to login to my Mac, ...
0
votes
1answer
55 views

How can I make fonts work correctly with ssh -X?

The following happens with any GUI application after I ssh to a VPS with -X (from Apple's Terminal with XQuartz): [x@y]$ emacs ~/.bashrc (emacs:1110): Pango-WARNING **: failed to choose a font, ...
1
vote
1answer
481 views

VMware Fusion - How to SSH into a VM when not on a network?

So I have a MacBook Pro here running Mavericks and VMWare Fusion 6. I have an Ubuntu Server VM I need for a project running. It snags a static IP on the network. Now I like to completely ignore / ...
1
vote
1answer
67 views

What does this debug info tell me about what's going wrong with my attempted SSH connection?

I'm trying to make a new connection to a remote server using supplied username & password credentials. I attempt to connect with this command: ssh -vv -p {port} {user}@{host} I get this ...
6
votes
3answers
1k views

Could not create directory '/var/empty/.ssh'

Every day, after several hours of use, anything using SSH will just randomly stop working. The only solution is for me to restart my machine, which fixes it until it randomly occurs again. > git ...
0
votes
0answers
34 views

Is it normal for tmux to behave erratic when issuing “clear” command?

I have multiple panes, and every time I enter the clear command in one of the panes - strange things happen. For example, I enter "ls" on both panes, then if I clear the right pane (#2) - it clears ...
0
votes
0answers
101 views

Enabling SSH from Single-User Mode

So this post is more like a duplication or collaboration of two other posts that are also on this forum. They can be found here and here. I've used ideas from both and ran into a problem not ...
0
votes
0answers
47 views

SSH into Mac Mini as user but not getting same access to files?

Ok, so I've got nginx, mysql, and php-fpm installed on my Mac mini. Its a headless machine so I'm trying to administrate it as much as possible via SSH from my Macbook, to avoid screen sharing and ...
0
votes
1answer
112 views

osx - change terminal-color based on user

what i want to achieve : everytime i log onto a machine via ssh with a specific user -> "danger" like ssh danger@somehost i want the terminal to change its background to red, so i have a visual ...
1
vote
2answers
46 views

I can't log in to my Mac, even though I can ssh into it

Our Mac is on a network where most users log in via ActiveDirectory, that may be related I am able to ssh from my machine to my MacMini (which is a build server for our iOS Developers), via ssh ...
0
votes
1answer
193 views

Mac OSX Lion 10.7.5. Is there any way to permanently disconnect from a server?

Every time I open terminal on my Macbook Pro, I get the IP address of a server I once ssh'd into. I allowed someone to use my computer to access his server and now it seems like there's some permanent ...
0
votes
1answer
28 views

Is there a way to Command-N a new term ssh'd into another server?

I'm becoming fond of iTerm2, especially since my dumb mighty mouse doesn't do such a great job at 3-button emulation, or I'd stick with X, but I digress. Some background: In my X environment, I can ...
0
votes
1answer
255 views

Where does Mac FileZilla cache host when using SFTP?

I have used Filezilla on Mac to connect to my linux server over SSH and when prompted accepted and cached the server key signiture. Where does Mac Filezilla cache this as I want to clear it? Mac OSX ...
0
votes
1answer
66 views

Using “ssh -Y” on Os X

How can I display remote applications on OS X via ssh? If I try, I get the error "Could not open display". Im trying to access Raspbian (Debian) from OS X Mavericks.
2
votes
1answer
949 views

Why am I getting permission denied (publickey) after chmod 600?

I got @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions ...
4
votes
2answers
8k views

SSH Connection: ssh_exchange_identifcation

I have been connecting to a remote server through my Mac for about a month now. As of recent though, I tried to connect using ssh dylan@MY_IP and got this message. ssh_exchange_identification: ...