1
vote
1answer
20 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
12 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
35 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
32 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
33 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
29 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
149 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
52 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
20 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
117 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
21 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
64 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
107 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
15 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
52 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
60 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
50 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
31 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
105 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
100 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
299 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
70 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
49 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
65 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
107 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
109 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
48 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
341 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
54 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
30 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
90 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
46 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
96 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
163 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
27 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
217 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
64 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
741 views

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

I got @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions ...
4
votes
2answers
6k 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: ...
1
vote
1answer
246 views

Connection to VirtualBox machine drops as soon as VPN is enabled

I have a VirtualBox machine running on my Mac and I can connect to it without problems, for example using SSH: $ ssh user@192.168.12.101 user-centos-6:~ user $ As soon as I connect to a VPN from ...
0
votes
1answer
34 views

How to properly configure and connect to SOCKS proxy

At office we've got certain network traffic restrictions in place forcing me to look for other options. What I intend to configure is a SOCKS server running on Snow Leopard OSX, forwarded through the ...
1
vote
1answer
183 views

FileZilla (or OSX app) to SFTP after SSH authentication

Basically, I have to SSH to what I assume is the firewall of my job, then from there i SSH to another server to do my work. My problem is I want to be able to move files back and forth, like ...
0
votes
1answer
374 views

Setting up OSX keychain for git access

I'm setting up a git server which we will access using ssh, and where the users are authenticated using LDAP. Is there a way to use the credential-osxkeychain so users don't have to enter their ...
0
votes
0answers
37 views

Where is path set for non-interactive user authenticated using LDAP?

There is a Mac on our network (let's call it MACHINE) that is configured to do LDAP authentication. There is no local user named USER on this Mac, but there is a user named USER known to the LDAP ...
2
votes
3answers
118 views

How to use macvim to ssh into a headless server

I am using Mac OS X 10.7.5 I installed macvim for the first time in my life. I enjoyed using MacVim I was wondering how to SSH from it into a headless server within the MacVim itself. Currently, I ...
1
vote
1answer
276 views

Non-blocking editing of remote files via SSH

On OS X, I frequently need to edit files that are actually stored on a remote Linux server I connect to via SSH over VPN. When I'm at the physical of the location of the server, I can easily mount the ...
0
votes
1answer
482 views

OSX Jenkins Slave terminates with java.io.IOException: Unexpected termination of the channel despite running “headless”

We are running Jenkins master on Win machine and added Mac OSX slave, exectued via ssh on remote Mac. It's already well known that this scenario requires the slave command being launched with java ...