Questions tagged [ssh]

A network protocol that allows data to be exchanged using a secure channel between two networked devices

Filter by
Sorted by
Tagged with
1
vote
1answer
38 views

What version of OpenSSH is included with macOS Catalina (10.15) beta?

I'm interested to know which version of OpenSSH ships today on Catalina beta Can someone running the beta version of Catalina run the following command in Terminal for me and provide the output? /...
5
votes
1answer
38 views

SSH daemon listens on both IPv4 and IPv6, but I can connect only over v6

Ok, maybe I'm weird or something, but I can't figure this one out. MacOS Mojave, native IPv6 from my ISP. As you can see, sshd is listening on both v4 and v6: alluminium:~ root# netstat -an | grep ...
3
votes
1answer
45 views

Passing alt/opt key sequence over ssh to remote host with iTerm

Just learning the ropes of my new MacBook Pro. I have a linux workstation at the office that I use to host a number of tmux sessions, which represent whatever Im working on at a given time. If out ...
1
vote
1answer
16 views

VPN with mac mini reachable locally but not from the Internet

I have a Mac mini that I'm trying to make ssh-reachable when I'm in a coffeeshop outside on the Internet (How do I convert my mac mini into a remote server?) so I can run more computationally ...
0
votes
1answer
23 views

How do I remove an ssh private key from ssh-agent/keychain

I followed some aws guide to add my private key to ssh-agent, using: ssh-add -K "MyPrivateKey.pem" However, I can't seem to remove the key using : ssh-add -d "MyPrivateKey.pem" which gives me the ...
1
vote
1answer
30 views

Best practices for second hard drive on macOS

I’ve a 1TB Mac Mini (Seagate hybrid HD + SSD) but I’m running out of space so I bought a second drive (Samsung 860 EVO 1TB). Since it is as large as the first hard drive I don’t think using fusion ...
1
vote
0answers
27 views

Use OpenSSH agent instead of the OSX agent

I've installed OpenSSH using homebrew (brew install openssh) and this installation provides it's own ssh-agent. Still, when I login, and see the autostarted ssh-agent, I see that the agent that is ...
1
vote
1answer
21 views

My ssh key won't work on my personal wifi network. How do I fix it

I have a macbook pro that I'm using for work. So I set up an ssh key for use with a bitbucket team account. My work email is a gmail account. But my bitbucket account is a team account with same ...
2
votes
1answer
66 views

Brew - sshpass security

i come from linux and i know that for automatize shh logins we can use sshpass. Looking for the sshpass command on MacOS i get this message: machine0:~ roberto$ brew search sshpass We won't add ...
1
vote
1answer
54 views

How do I convert my mac mini into a remote server?

I have a Mac Mini that I'd like to convert to a remote server (i.e. so when I am in a random coffeeshop I can connect to it to run computationally intensive tasks as it sits on my desk at home). Are ...
3
votes
1answer
30 views

Connect to a VPN server through a Raspberry (connected VPN client)

I'm trying to connect from my MacBook to the VPN server, which is accessible from the Raspberry as it's a connected VPN client. MacBook (172.25.0.139) ---> Raspberry (172.25.0.14) ---> [...
0
votes
0answers
19 views

Unable to ARD to remote machine

I've set up a computer on another subnet. This machine is on ip 10.1.1.39. I am able to ssh to it and the prompt returns the correct name for the machine. When I try to ARD, it fails to connect. I ...
0
votes
1answer
40 views

error with automator applescript “do shell script” call (file not found) yet command line with same command works

I have a simple automator app that runs a simple script. It uses ssh to open a file on the local machine, MachineA, with an app on the remote machine, MachineB, and logs the ssh call. on run {input, ...
0
votes
0answers
38 views

Does there exist a means to use Ranger in iTerm2 and Preview Images with X11 forwarding enabled on an SSH session?

So I am using the ranger terminal application, which is a vi style file browser. I've followed this tutorial to achieve image preview compatibility with the iTerm application. This works very well for ...
1
vote
0answers
26 views

Create DMG on linux via SSH

I would like to integrate my Time Machine backups with a manual script that will create a compressed and encrypted DMG image from some folders. Reading about this issue, I can create a DMG, for ...
1
vote
0answers
22 views

Removing garbish history from Terminal Remote Connection

When you press CMD+Shift+K on terminal, a Remote Connection window will appear, which allows you to save and manage your connections. When I was trying to add the correct ssh command, I had several ...
0
votes
0answers
28 views

`ssh-add -l` does not show the location of the SSH key(s)

When I run ssh-add -l, it does not show the location of the SSH key(s). It outputs the following: 4096 SHA256:bBMtB9wL6RXRWhvx5M+LDox6A2gq61CDtZN9F4bi3Gw masoud@x.y (RSA) 2048 SHA256:QbCO5y5SX+CSHd6++...
0
votes
0answers
15 views

macOS ssh client with “local editing” feature to prevent typing delay? [duplicate]

I failed to install putty on my 10.14.4 macOS. It there a replacement that has "local editing" feature to prevent typing delay?
2
votes
1answer
49 views

Is there a macOS ssh client that allows me to type fluid commands?

Terminal and iTerm uses whatever method they are using to ssh that basically slows down if the network connection to the server is slow. All the commands I type would show up on the screen seconds ...
0
votes
0answers
34 views

MacOS/X: ssh -6 to mDNS hostname on LAN only works after ping6 to same hostname

I'm observing some "interesting" behavior on my Mac -- I have a Linux box running on my LAN with IPv6 configured, and I when I try to "ssh -6" from my Mac to that box, the mDNS hostname resolution ...
1
vote
1answer
16 views

ssh to non-existent .local name never times out

If I try to connect to a non-existent .local hostname using most utilities, including ping and telnet, it times out after 5 seconds: % time telnet host.example.local host.example.local: nodename nor ...
1
vote
2answers
872 views

How to fix 'ssh_exchange_identification: read: Connection reset by peer' on mac OS Mojave?

I am trying to connect to my Raspberry Pi over ssh using my MacBook. The command ssh -v pi@ipadress gives the following output: OpenSSH_7.9p1, LibreSSL 2.7.3 debug1: Reading configuration data /etc/...
2
votes
2answers
243 views

How to ssh with public-key on an iPad?

I want to use an iPad to connect to a linux server through ssh. However, the server only accepts encrypted access using public-key authentication. Is there any way to do that? So one question is ...
0
votes
1answer
58 views

No SSH connection possible over Wi-Fi

I have a MacBook Pro from 2014 running macOS Mojave. I cannot SSH into a remote server, use git over SSH or use the Mac App Store while connected to my Wi-Fi at home. Some of my mail accounts seem to ...
0
votes
1answer
180 views

Open a terminal on a remote computer?

I want to open a terminal and run a command on a remote computer through SSH. I don’t need to see what is happening in that terminal, but I cannot make it work. I know to open a browser, for example ...
2
votes
1answer
81 views

How do I use my GPG agent for SSH everywhere?

On my system, I'm trying to set up SSH authentication through my GPG agent (installed via brew). So far, I have this working in my terminal thanks to adding the following lines to ~/.profile: # ...
1
vote
1answer
23 views

Keyboard lag on iPhone SE

When I use an app called Termius on iOS to SSH into my different machines, I am starting to get serious keyboard lag lately. I’ve already tried resetting the dictionary and I’ve restarted my phone. ...
2
votes
1answer
22 views

Set sshd to serve different shell based on `host`

I want my local sshd to serve different shell, based on the host. Example: ssh user@hostname1 -> get's bash ssh user@hostname2 -> get's fish Is it possible, and if so, how can it be done?
4
votes
2answers
1k views

Did Mojave break SSH login?

I hope someone can help me troubleshoot this ssh login issue. In my home LAN, I develop websites and have set up my router to forward external SSH calls to my main laptop from this external port. So ...
1
vote
2answers
295 views

ssh fails with ssh_dispatch_run_fatal invalid format

During the last years I've had various problems with MacOS SSH, but those were quickly resolved searching the net. This is now something different. This is Mojave -system with lates updates (10....
0
votes
2answers
113 views

Best way to run Shell commands on VirtualBox Guest

What's the best way to run shell commands on a MacOS guest VM? Can't seem to run it through VirtualBox's guestcontrol, only lets you launch apps, not run commands directly. Saw some people suggest SSH,...
2
votes
1answer
353 views

Add arcfour Cipher to Mojave 10.14

Im trying to use the arcfour cipher with SSH. Yes, I am aware of the risks, but I have my own reasons for wanting to use it. When I list available ciphers, it's not there. Is it possible to add it ...
1
vote
1answer
221 views

Cannot SSH into Cisco switch or pfSense router from Mac Mini (macOS High Sierra 10.13.6)

Errors message in Terminal are (switch 1st, router 2nd): MacMini:/ MacAdmin$ ssh NetAdmin@192.168.3.2 #Switch Unable to negotiate with 192.168.3.2 port 22: no matching key exchange method ...
1
vote
0answers
144 views

How to block TCP connections from unidentified IP addresses mac

I started up a private minecraft server for my friend and I, and that required me to use generic TCP forwarding in order to open it up to accept his IP address. I used this program called serveo.io ...
1
vote
1answer
216 views

A headless Mac Mini server gets stuck (non-SSH-able) after rebooting (macOS Mojave)

When I reboot a headless Mac Mini server running macOS Mojave with sudo reboot, it becomes non-ssh-able. The same happens if a "fake monitor" HDMI display emulator is plugged in. This happens ...
0
votes
1answer
196 views

Cydia - Add sources through command line

I am able to SSH into my iPhone and update the file /var/mobile/Library/Caches/com.saurik.Cydia/sources.list with the number of repos, but the file gets reverted as soon as I try to update the repos ...
2
votes
3answers
121 views

How do I open up my Mac to remote sharing anywhere?

I've been looking around and I can only find a way to access my iMac and it's files on a local network. But if I'm away or at school, this kinda puts a hold on my work and is mighty inconvenient. If ...
2
votes
1answer
311 views

Copy SSH Public Key to clipboard WITHOUT newline appended

Every Google search for copying a Mac's SSH Public Key to clipboard yields the following command, which results in a newline appended: pbcopy < ~/.ssh/id_rsa.pub This is undesirable as I need to ...
3
votes
1answer
171 views

Auval and Auvaltool not working through SSH

I was successfully validating audio unit plugins with OSX 10.11 over SSH. On my new machine which runs OSX 10.14 (Mojave) everything works fine until I try to validate a plugin from an SSH connection. ...
0
votes
0answers
108 views

Safari Proxy Setting (IOS)

Where is the native safari options to configure a SSH proxy-tunnel to access a remote LAN device? If there are none, what is the key-searchword to find such functionality. This is not a request for ...
0
votes
1answer
87 views

Remote SSH connection

I want to connect my iMac remotely via ssh. Even though I can connect it locally, I can't do it remotely. When I try to connect remotely it refuses the connection. port 22: Connection refused I ...
1
vote
1answer
41 views

Terminal - lose useful keyboard shortcuts during SSH connection

I'm encountering an annoying issue. When I'm connecting to a Linux VM through my terminal by ssh, I don't have tab completion, or I can't navigate through my past commands with the directional arrows. ...
1
vote
0answers
53 views

How can I enable graphics on local macOS from remote Linux using SSH?

host: Ubuntu 64-bit local: macOS 10.13 64-bit I'm attempting to run a program on a remote Linux machine through ssh, and I want the GUI to appear on my local macOS laptop. When I execute ssh -v -X ...
0
votes
1answer
70 views

How do I setup ssh so I can ssh back into my local machine

I need to be able to ssh back to my localhost, samwise.local in my case, but ssh on Mojave will only let me do this if I authorise by password and I need passwordless login. I've set ssh keys via ssh-...
0
votes
1answer
35 views

Can I set up Boot Camp in a headless mac pro?

I have this headless Mac Pro in the living room. I access it from my MBP through the network, ssh and sometimes with a remote desktop solution. I use it to run data/computing. Now I need to get ...
1
vote
1answer
75 views

3 locations for SSHd configuration

So I want to harden my SSH daemon when Remote Login is enabled. So far I've found: /private/etc/ssh/sshd_config /System/Library/LaunchDaemons/ssh.plist -> protected by SIP /etc/ssh/sshd_config Why ...
1
vote
0answers
42 views

How do I keep my SSH private key passphrase away from OSX?

I recently created an SSH public/private keypair on my Mac OSX Yosemite system and for this use-case, I wanted to encrypt the private key with a passphrase. However, the first time I attempted to use ...
1
vote
1answer
450 views

Connecting from iOS to macOS using ssh

Because of the OpenSSH iOS tweak and NewTerm (my phone is jailbroken), I'm able to connect from my computer to my phone using ssh: $ ssh mobile@myphonesip mobile@myphonesip's password: myphonesname~ ...
1
vote
1answer
2k views

How to get to .ssh path on macOS?

I have tried the following steps from How to access my .ssh folder for Transmit or Cyberduck?: In the find file window, press Command-Shift-G. It'll ask you what folder to navigate to. Enter "~/....
1
vote
1answer
136 views

Storing SSH passphrase in memory but not saving it to the keychain persistently

Answers to this question explain how to have SSH passphrases added to the keychain when they are entered. Having recently upgraded from a previous version of OSX, I'm used to the passphrases being ...