0
votes
1answer
33 views

Secure shell protocol connection

Okay so my client is a Macbook air connecting to a server Macbook Pro and when I type ssh [email protected] into Terminal it does not send back any output. After a while it sends this back....
1
vote
0answers
31 views

Forwarding remote port 80 to OSX Localhost port

I've created SSH tunnels in the past, but I'm having trouble on OSX. I'm looking to take a website's port 80, and direct it to my localhost:8080 (or whatever port, really). When I run this command ...
0
votes
1answer
49 views

Ping hostname works but ssh does not for local machine

This is an interesting one. What is our hostname and ip ? echo $hostname $(ipaddr) TCA0080ALKVTAGB xx.xx.242.47 ping works: $ping $(hostname) PING TCA0080ALKVTAGB (xx.xxx.242.47): 56 data bytes ...
1
vote
0answers
65 views

Send a message from a mac to a pc over the local network

So this one's been annoying me for some time now. I have a PC (windows 10) and the rest of my family has macs (ranging from Yosemite to el capitan). We're often in different rooms wearing headphones ...
0
votes
1answer
47 views

What's wrong with my OpenSSH Include directive?

Recently OpenSSH on macOS Sierra was upgraded to 7.3p1 which means that the Include config directive is available, hurray! However I'm having problems actually using it. I have the following ~/.ssh/...
0
votes
1answer
33 views

Networking issue on Macosx: Create a network of 2 linux computers and a Mac

I am trying to setup a network as displayed in the picture 1 (I forgot to mention that the netmask on all devices is set to 255.255.255.0). I want to ssh to my board (which is running linux) using my ...
0
votes
0answers
8 views

X11 character translation, dollar sign becomes 4

From my MacOSX system I am connecting to a remote server using "ssh my remote.server.machine -X", and on the server I start a program that in turn is opening a xterm window for itself. In this process,...
2
votes
2answers
153 views

SSH from Mac to Vagrant machine

I am trying to connect with SSH from my MacBook to a Vagrant machine. vagrant ssh works fine, but I'm wondering why it is failing when I use ssh from the Mac Terminal. Here is the error it throws: ...
0
votes
0answers
35 views

Home router blocking outbound SSH

TL;DR I can't SSH to customer's server on customer's VPN from my home but I can from the office. I'm using MacOS and when I'm in the office I can: Start a vagrant box on my computer. Use VPNC to ...
1
vote
0answers
467 views

How to reload the ssh config file in Mac OS X via terminal

When I update my ssh config file so I can switch my current github account, the changes wont work properly unless I restart iTerm. I'm working on a script to automate the github account switch and I'd ...
1
vote
1answer
41 views

Passwordless ssh not working even though normal steps taken

Let's look at the "normal" steps to get passwordless ssh to work: Create an ssh key id_rsa, add it to ~/.ssh dir and do chmod 0600 on it. Add the id_rsa.pub to the ~/.ssh/authorized_keys. ensure that ...
0
votes
1answer
81 views

ssh: Could not resolve hostname - until restart

Just as in this question I have two macs on my home wifi network. Usually, I am able to use ssh to connect from one to the other, using either of: ssh username@mac-name ssh username@ip-address ...
0
votes
1answer
56 views

ssh hangs on osx client after Entering interactive session

I am trying to connect to a remote server (remote server running linux, local client running osx) through ssh, but the connection hangs after Entering interactive session. I can sftp remote ...
0
votes
2answers
83 views

Can't access Linux server via SSH

I have a MacBook Air, version 10.12.1 (Sierra). I have been thus far with Windows for the better part of the last 20 years and few days ago I switched to Mac for the first time. I have a shared ...
1
vote
1answer
120 views

rsync doesn't work, but ssh and scp do

I am trying to copy files from a remote server (linux) to my client (osx) using rsync -avz remote:/path/to/file . but the connection hangs and the transfer is never completed. Instead, I can ...
0
votes
0answers
170 views

How to get RSA Public Key and Private Key and get the modulus and exponent in plain text?

A requirement needs me to "Create or retrieve user’s RSA-OAEP key. There should be one public/private key pair for each user for a device" and send it to the server in this form: {"modulus":"...
0
votes
0answers
52 views

Using terminal on Mac OS X to connect to Windows Machine

've done some research on google and it seems I might be asking the wrong question that would yield minor results. So I hope someone could shed some light on my confusion. Ideally, I connect using ...
0
votes
1answer
51 views

Why/how does SSH fail to authenticate if the *client* machine has a bogus pubkey?

On clienthost I have a pub:priv keypair stored as ~/.ssh/foo and ~/.ssh/foo.pub, respectively. On remotehost I have the pubkey correctly extant in ~/.ssh/authorized_keys such that I can login using -i ...
0
votes
0answers
56 views

FileZilla SFTP connection need to change user account

I'm trying to connect to a SFTP server using FileZilla on Mac, on my personal default account, I'm keep getting this authentication failed error, even though all my details are correct. But when I ...
1
vote
0answers
34 views

How does SFTP transfer files when SCP cannot? [duplicate]

While at work, I am restricted from using scp to copy files from a remote server to my machine and when I try, the operation always times out. However, when using an FTP client that supportssftp, the ...
1
vote
1answer
65 views

How to connect a linux pc (Ubuntu) to a Mac OSX that run only in single user mode terminal

First time posting here, so be kind with me. This is a problem I'm facing. A Mac on OSX (10.7.x) is dead on graphic card,so is bootable only in single mode from terminal. I want to get data from disk, ...
1
vote
0answers
625 views

packet_write_wait: Broken Pipe error on MacOS Sierra SSH

I keep getting a packet_write_wait: Broken Pipe error on my EC2 SSH connections after a period of inactivity. I've tried modifying the ServerAliveInterval & ClientAliveInterval settings with ...
2
votes
1answer
167 views

ssh-agent service stop starting at login on Mac OS 10.11

I'm currently facing a little issue about the ssh-agent service. I rebooted my computer today after removing a Boot Camp partition. Since then, ssh-agent no longer starts automatically at login. I ...
1
vote
2answers
218 views

torsocks ssh does not work on Mac Sierra

I am trying to make an anonymous connection via ssh to a remote server using torsocks on my Macbook pro running Sierra, but it does not work. I tried: torsocks ssh root@THEIP AND ssh -L 9050:127.0....
0
votes
0answers
26 views

OSX SSH to localhost keeps losing my AllowUsers setting

I'm on Mac OSX 10.11.6 (El Capitan) and I'm using the built-in SSH server (enabled via System Preferences -> Sharing -> Remote Login). I have selected "Only these users" for "Allow access for:" and ...
0
votes
1answer
288 views

install paramiko on my Mac OS X 10.11

I tried to install paramiko on my Mac OS X 10.11 sudo pip install paramiko Password:******* then I got The directory '/Users/bheng/Library/Caches/pip/http' or its parent directory is not owned by ...
0
votes
1answer
1k views

macOS Sierra - error: The specified item could not be found in the keychain - within ssh

When I try to run codesign --force --deep-verify --verbose --sign "CERT-NAME" ... over SSH I always get an error: The specified item could not be found in the keychain. But when I run the same ...
177
votes
11answers
33k views

macOS keeps asking my ssh passphrase since I updated to Sierra

It used to remember the passphrase, but now it's asking it to me each time. I've read that I need to regenerate the public key with this command, which I did: ssh-keygen -y -f id_rsa > id_rsa.pub ...
1
vote
2answers
36 views

Determine if process started via SSH

I'm working on a mac and my scripts are interacting with the keychain (codesigning, etc...). As of El Capitan, interacting with the keychain is very different depending whether a process is started ...
0
votes
0answers
39 views

Can't change SSH_AUTH_SOCK with launchctl setenv

I want to set the value of SSH_AUTH_SOCK to a different location on an OSX El Capitan system. I attempted to do so by executing the following command: $ launchctl setenv SSH_AUTH_SOCK ~/.gnupg/S.gpg-...
0
votes
0answers
14 views

SSH Auth from Ubuntu VM running on Mac in VMWare Fusion

I'm trying out a new 2FA product and it can protect SSH logins with a second auth scheme like SMS or push to a mobile phone. I port mapped 443 to the inside address of the MacBook Pro (10.x.x.x) thru ...
0
votes
1answer
38 views

ssh'ing into mac, home and end insert a tilde

When I ssh into my Mac using PuTTY from Windows, and I try to move to the beginning or end of a line by pressing Home or End, it inserts a Tilde (~) character under the cursor instead. This is highly ...
0
votes
0answers
100 views

Not able to ssh into ubuntu virtualbox vm from mac host

I have an ubuntu VirtualBox VM running on MacOS as host. I have set up as a host-only network called vboxnet0, it is manually configured: ip 192.168.0.15 netmask 255.255.255.0 not using dhcp The VM ...
0
votes
0answers
31 views

Delete and Arrow Keys not working when SSH into a Windows Box from a Mac…Help please

I've tried to use them with combinations of command control and alt, but nothing seems to work. It would be a total hit on my productivity that I can't delete or use navigation in ssh...I didn't ...
0
votes
1answer
103 views

How to disable Remote Management and Screen Sharing Ports in OS X El Capitan Application Firewall?

I have purchased an OS X 10.11 VPS. I would like to lock down the box to only allow port 22 SSH through the firewall. So I turned on the application firewall under System Preferences -> Security and ...
0
votes
0answers
163 views

OSX - ssh keeps failing for different reasons

I am using ssh to connect to my digitalocean droplets normally. Recently, all of them stop working suddenly and I can't access them but they highlight different reasons. Connection closed Operation ...
0
votes
1answer
16 views

Fix Dropbox sync remotely

I'm having intermittent trouble getting Dropbox to sync on a remote machine. I don't know what the cause is, but it will sync fine for months then stop. I'm trying to debug this over SSH on OSX (...
0
votes
1answer
38 views

sftp onto mac local machine from remote server

Posted this on SO but that was deemed off topic so re-posting it here. I am trying to download a dataset from a private remote server through sftp onto my local macbook pro machine. I was informed by ...
0
votes
0answers
69 views

How to set system-wide umask for SSH connections to an OSX machine

I would like to set the default umask of an OSX machine to 0002. I can get this to work for graphical applications using: $ sudo launchctl config user umask 0002 $ sudo reboot However, this doesn't ...
0
votes
0answers
91 views

Can’t seem to SSH from an iPhone to Mac

I’ve tried using several iPhone apps to connect to my Mac (a 2012 Retina MacBook Pro running OS X El Capitan) via SSH, but it never seems to work. I have remote login turned on and know my Mac’s IP ...
0
votes
1answer
42 views

Problems connecting to my Mac via SSH

I have Mac with remote access enabled. I can easily connect to it via SSH within local network. I have configured 22 port forwarding on my router. But I can't connect to my Mac via SSH by using router'...
1
vote
1answer
79 views

Setting explicit command to run SFTP server in FileZilla client (Mac OS)

Basically what I am looking forward is the same functionality on Mac OS as the WinSCP screenshot below I have SSH tunnel application to establish tunnel with the server and using the FileZilla for ...
0
votes
0answers
142 views

mac to mac vnc through ssh for dummies. Is my connection encrypted?

I am finding online tutorials very challenging and I feel compelled to ask a question that I'm sure is common: How do I control the screen of a remote mac on a (remote) home network, where all info ...
0
votes
0answers
175 views

SSH error “Connection reset by peer” - no obvious cause

I'm trying to SSH a shared host server and everything has been working fine for over a year, but now without explanation whenever I try to connect to it I get: ssh_exchange_identification: read: ...
0
votes
0answers
15 views

Getting my private key from my OpenShift account

I am a relatively new user to OpenShift. I have some experience with git and I was using it perfectly on my old Mac. The Mac broke down and had to recycle the parts to a store that recycles computer ...
1
vote
0answers
86 views

How can OS X cron use existing ssh-agent without environment?

I've looked all over these forums, and either haven't found an answer to this, or more frequently, the question is different. Client is OS X El Capitan. I am logged in, and my ssh key (with ...
0
votes
1answer
67 views

SSH remote problems - ongoing issue: Besides ssh not running on the Linux host or firewall running on that host, what other issues could it be?

Regarding the firewall: Linux Mint uses UFW by default. I disabled it with sudo ufw disable. Regarding the SSH Server service not running: I started it after I got a "Connection refused", leading ...
-1
votes
1answer
53 views

How could I oversee remotely a Linux computer with my MacBook Pro using SSH?

I equipped Linux Mint on every computer that my coworkers have for all those times that I would like to jab them in the kisser, but I need to supervise their computers for when my boss yells and needs ...
0
votes
1answer
4k views

SSH Client Closes Connection

I'm attempting to establish 2-way SSH communication between a MacBook (192.168.1.3) running OS X 10.9.5 and a desktop computer (192.168.1.2) running Korora 23 (basically Fedora 23 with additional ...
0
votes
0answers
15 views

Stopping terminal tab update on ssh

I understand that this is a possible duplicate question. However, I could not find any satisfying answer and so I am asking this question yet again. When I SSH into a remote machine, I do not want ...