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
2answers
40 views

Change stored remote host names in terminal application en mass

I have been using the simple hostname to ssh into remote hosts, around 100 systems. There has been a change in configuration of the network that will require FQDNs. Rather than recreating all my ...
0
votes
0answers
23 views

Fabric | abort error message

I am struggling with Fabric and cannot figure it out. I installed everything according to the documentation provided by the fabfile.org + some other commands for accessing a users database in ...
1
vote
0answers
27 views

In ~/.ssh/config make a host that just … errors

I would like to start using multiple github accounts. I think the best way is to have a different ssh key per account (correct me if that's a wrong assumption). I will have user1.git and user2.git ...
0
votes
1answer
31 views

Can't remote login after startup

I have an iMac running Catalina (10.15.2) that I don't have a keyboard or mouse plugged into. I just want to use it via screen sharing and SSH. The problem is that often when I want to use it I can't....
0
votes
0answers
36 views

Network problems (maybe SSL) since macOS catalina

I'm currently on a MacBook Pro on MacOS Catalina (10.15.2 build 19C57) and everything has been going well for the last 3 years. But since almost 6 months, I have a very, very annoying problem: every ...
1
vote
1answer
21 views

Too many open files error when trying to ssh into mac

I ssh'd into my iMac from my laptop fo a while without incident. At some point, I started getting "too many open files" along with other errors: Last login: Fri Jan 31 09:25:00 2020 5.0.7(1)-release /...
0
votes
0answers
80 views

SSHd on macOS Catalina 10.15.3 (19D76)

I have SSH enabled (by checking remote login in Sharing settings). I have also secured it to be pubKey only etc. Every time macOS updates it overwrites my /etc/ssh/sshd_config with absolute nonsense,...
0
votes
0answers
46 views

How to get ufw(8)-like (Uncomplicated Firewall) functionality for macOS firewall?

How can I get ufw(8)-like (Linux Uncomplicated Firewall) functionality for macOS firewall? ufw enables per-IP-address/subnets and per-IP-port configuration. I see no way to do this with macOS sharing ...
0
votes
0answers
62 views

When I try and boot my SSH server, it shows [nodename nor servname provided, or not known], What do I do?

On (I think) Wednesday, January 22, I launched termius, an iOS ssh server client and host app. As I read the manual to make a host, it said to tap the host when the settings are set, but then, an ...
0
votes
1answer
58 views

SSH tunnel over VPN

I am using a VPN software which, like all VPNs, changes the system configuration in certain ways to make use of their servers. Sometimes, I need to use an SSH tunnel proxy. I use Sidestep which ...
2
votes
1answer
119 views

Port 22: Connection Refused SSH Error

Recently, I signed new keys to gain access to my friend's server. The keys were signed on my friend's machine and I signed and added them to my .ssh folder. I attempted to sign in multiple times but I ...
1
vote
0answers
112 views

Stop MacOS Catalina adding SSH keys automatically

Getting a bit annoyed by this now and probably something simple! I have various different ssh keys that I use to connect to a range of servers as well as a key to access Github. These keys are all ...
1
vote
1answer
38 views

Remote SSH access to sleeping MacBook Pro only works when 'Find my Mac' application is running - can I make this persist?

As expected, I cannot SSH in to my MacBook when I have left it with the lid shut/sleeping, but if I use my iPhone to access 'Find my Mac', the MacBook wakes and then I can SSH in. However, when my ...
0
votes
1answer
117 views

How to remotely connect Macs across different networks?

I'm trying to connect two Macs that are not in the same Wi-Fi network. I'd like to use terminal instead of available Remote Desktop programs. My remote Mac had already all the preferences active in "...
0
votes
0answers
29 views

System unresponsive at osxfuse password prompt

I am facing a peculiar problem while mounting a volume using OSXFUSE. I use sudo sshfs -o allow_other,defer_permissions root@xxx.xxx.xxx.xxx:/ /mnt/droplet with my information to connect to the ...
0
votes
1answer
40 views

Using public key with OSXFUSE

I have been allotted a system-generated password (which is impossible to remember) that I cannot change and every time I mount a folder from the remote machine, I have to enter the password for that ...
0
votes
0answers
40 views

How to execute admin level command via remote login without typing password?

I would like to allow a remote script to access my Mac (Catalina 10.15.2) at the root level. I know that I can enable keyboard-less access at the user level, by using publickey authentication, via ...
1
vote
1answer
22 views

Git stored credentials work locally but don't have effect if logged into the machine via SSH

I have a remote macOS machine with git and GitHub Desktop installed, as well as my SSH public key. If I connect to the machine via Screen Sharing, open a shell window and try e.g. git pull in my ...
0
votes
0answers
24 views

Cannot change ssh port on High Sierra, The Revenge

At some point in the distant past, I changed my default ssh port to 22222 per previous employer's security protocol. Now I want to change it back to 22. I have edited the ssh.plist file via the ...
2
votes
1answer
772 views

SSH port forwarding not working in macos catalina (10.15)

Something in macOS Catalina (10.15.1) is interfering with ssh port forwarding (needed for localhost debugging and developing against a web server system deployed in AWS). I assume something with ...
1
vote
1answer
110 views

How can I permit SSH connection terminal programs to access Camera?

I'm connecting to my macOS 10.15.1 device over SSH via PuTTY on a Windows computer to run a terminal program, imagesnap, that attempts to use the MacBook's camera. When I ran the program locally on ...
0
votes
0answers
16 views

Preventing ssh command from opening xquartz on every login

Whenever I use ssh, after I type the password, xQuartz pop ups in the dock. It is a similar question to preventing ssh command from opening xquartz on every session, but in my case, I want X ...
1
vote
0answers
26 views

ssh -X from MAC OS to Ubuntu, error with RANDR

I have a question regarding the following situation: I'm doing ssh -X from a Macbook with Catalina OS to an Ubuntu 16.04. I installed XQuartz-2.7.11 in the macbook in order to be able to handle the ...
1
vote
1answer
75 views

How can I use launchctl getenv over ssh?

In a terminal session I can run launchctl getenv SSH_AUTH_SOCK and it prints the value of that variable. However if I ssh into the same user from another computer, then run the same command, there is ...
2
votes
1answer
59 views

SSH connection using public/private key authentication fails only for port 22

I have been struggling for hours to make sense of a specific failure from connecting to an SSH server from one recent macOS system. ssh user@machine -p 22 I have added all keys to ~/.ssh/...
2
votes
1answer
94 views

ssh VerifyHostKeyDNS not working

I'm stuck figuring out why ssh is unable to verify my SSHFP entries. VerifyHostKeyDNS=yes is set in my ~/.ssh/config The Zone is properly signed as verified with https://dnssec-analyzer....
-1
votes
1answer
32 views

How do I allow incoming connections when Tunnelblick OpenVPN is connected?

When I use OpenVPN as a client via Tunnelblick app on a macOS VPS it drops the connection with me and I'm no longe able to connect via NoMachine, VNC or SSH. How can I avoid such problem?
1
vote
0answers
55 views

SSH apps for iPad that run 9.3.5 and earlier

I own an iPad2 (I guess it's an iPad2, it's an old iPad, one of those that you can't update past 9.3.5). Not only that I can't update past iOS 9.3.5, most of the apps I was looking at require at least ...
1
vote
1answer
749 views

Interactive Ssh blocked with Catalina

Since migrating to Catalina, I am not able to run an interactive shell through SSH to one of my linux servers. Using a Windows machine (I do not have a pre-Catalina machine available), I have no ...
1
vote
0answers
29 views

How to configure Xcode to fetch swift dependencies over ssh using a private key which is stored on a Yubikey ( HSM , gpg --card-status )

Problem currently is that I find no way to simply configure or instruct Xcode to check out source code or dependencies over git+ssh using ssh agent. Does Xcode at all supports using the ssh-agent? ...
2
votes
1answer
227 views

Can Safari (iPad iOS 12.4.2) be configured to utilize SSH-Tunnel / Port Forwarding?

Goal: from WAN, SSH-tunnel to home router (outfitted with SSH) and access remote LAN devices with iPad's web browser. As I understand it, a SSH-tunnel (connection) must be established first, which I ...
0
votes
0answers
43 views

Detaching Process from “Run Script Over SSH” in Shortcuts

I'm trying to use the "Run Script Over SSH" in Shortcuts (found under Scripting > Shell. I want to execute a long running command from a sharesheet. So that the sharesheet doesn't remain open, and ...
0
votes
0answers
12 views

Can command line SSH work with Power Nap?

I googled "power nap ssh" and found this question. Apparantly Putty works with Power Nap. Can regular OpenSSH used from the command line also stay online when the computer is put to sleep?
0
votes
0answers
20 views

ssh -p to a VirtualBox Ubuntu instance stops working, error: “Could not resolve hostname ?\200\223p: nodename nor servname provided, or not known”

Is there any reason why ssh -p would stop working and error with a message like below? ssh –p 2222 osboxes@localhost ssh: Could not resolve hostname ?\200\223p: nodename nor servername provided, or ...
2
votes
1answer
215 views

How to create sha-512 password hashes on Mac for CentOS?

I need to generate password hashes on Mac for CentOS. I can generate sha with echo foopass | shasum -a 512, but as I've understood password hashes are more just one sha application. I've found some ...
1
vote
1answer
68 views

Is the MacPort version of XQuartz severly outdated or what?

At https://www.xquartz.org/ the current version of XQuartz is listed as 2.7.11 but in MacPort it looks like this $ port search xquartz xorg-server @1.20.5 (x11, devel) The X.org / Xquartz X ...
2
votes
2answers
142 views

grc inside terminal (with different colors into terminal as a function of files size) not working on 10.14.6 Mojave and working on High Sierra 10.13.6

I can get working the tool grc which allows to have colors for permissions and different colors as a function of the size of files listed for example with ls -l command. On my previous MacBook with ...
1
vote
1answer
28 views

Why is SSH key different for user@ipaddress vs user@devicename.local (same device)

if i ssh into a device (linux) on my local network using user@ipaddress vs user@devicename.local it seems as though my computer (OSX) is treated as two different devices. I have noticed some ...
0
votes
0answers
19 views

Automatically open an SSH connection when something tries to connect to a port?

I need to tunnel my SMTP-traffic via an SSH connection because the SMTP only accept clients from certain IP-addresses. Currently I have to setup this tunnel manually ssh -L 5870:smtp:587 -l name ...
1
vote
1answer
65 views

Why is my .ssh/config file not readable?

I am trying to edit my ssh/config file, but when I type emacs ~/.ssh/config into Terminal, it says that the file is not readable and will not save my edits. When I try to overwrite, it says permission ...
0
votes
2answers
29 views

How to distinguish a terminal window currently connected via SSH?

I'm coming from Windows, where I used to use Putty whenever I needed to connect to a server via SSH. On MacOS this is much easier, as I can ssh into the server directly from the terminal. This is ...
2
votes
1answer
110 views

No prompt for ssh passphrase

I have two ssh keys, one for git (gitlab) and one for a server. My ~/.ssh/config is : Host private HostName x.x.x.x User username IdentityFile ~/.ssh/server Host git.example.com IdentityFile ...
2
votes
2answers
67 views

Opening pdf over ssh in Mac terminal

As the title says, I do > ssh user@host.de Password: > cd documents/ > okular example.pdf QXcbConnection: Could not connect to display Aborted (core dumped) I connect to an ...
2
votes
1answer
50 views

Can't SSH for 5 minutes+ after boot up

I'm running Mojave 10.14.6 on a new MacBrook Pro and whenever my mac is completely off and then comes back on, it seems to take at least 5 minutes to be able to connect or access anything over ssh. ...
0
votes
0answers
14 views

File permission issue when trying to script command to run via ssh, but can manually ssh and then run command no issues

I am trying to script access to a remote environment variable $CUSTOM_ENV_VARIABLE on my macbook. The following works for me when I do it manually: linux-box:~$ ssh my-macbook my-macbook:~$ env ... ...
2
votes
0answers
267 views

How to force a macOS user to change their password when they log in over SSH?

I am setting up a Mac Mini for use as a server in our office. I am trying to set in place a reasonable security policy. Currently, I am struggling to accomplish the following: How can I make a user ...
2
votes
1answer
1k 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
95 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
132 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
27 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 ...

1 2 3 4 5 15