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
0 votes
0 answers
38 views

“Allow full disk access for remote users” checkbox not appearing for remote login

I have been using a spare mac-mini (late 2012 model) running Catalina 10.15.7 as a general use home server, mostly for running plex, and have it plugged in and not connected to a monitor. As a result ...
0 votes
0 answers
8 views

iterm2 can't pick gpg-agent up

Thanks to the omz plugin 'gpg-agent' I can ssh passwordless to a choosen host with my ssh key. On iTerm2, I would like to have a profile with a command 'ssh somewhere'. Unfortunately session ends ...
  • 101
0 votes
0 answers
35 views

Mac won't accept SSH traffic despite being set to allow remote access to all users

I am trying to ssh -v user_name@host_address from Linux to a Mac and I get this output: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /...
1 vote
1 answer
129 views

Why did my SSH agent disappear after updating to macOS Ventura?

I recently updated my Macbook to macOS Ventura 13.1, and ever since that I've had trouble using SSH. This has always kind of "just worked", I've always been able to just ssh to a host and a ...
  • 210
1 vote
0 answers
114 views

SSH forwarding not working in macOS Monterey

I am trying to get port forwarding working on my Mac with macOS Monterey. I have a script that works on multiple other machines, including older Mac and Windows machines using Ubuntu Linux subsystems. ...
  • 61
0 votes
0 answers
17 views

MacOS Ventura sshfs? [duplicate]

seems old macfuse is not compatiable with the current version MacOS Ventura. Any way to make sshfs to work?
  • 101
0 votes
0 answers
37 views

How can I automatically mount a few remote folders at startup with SSHFS?

I have two folders on a remote server, and I mount them locally on my Mac using MacFUSE and SSHFS, as described here or here: sshfs -o allow_other,defer_permissions myuser@remote.server:/path/to/...
  • 386
0 votes
0 answers
98 views

SSH key not being added to ssh-agent automatically

OS version is Ventura 13.2 I generated an SSH key to authenticate git operations with GitHub according to their guide. Followed the steps: ssh-keygen -t ed25519 -C "my identifier" (Without ...
2 votes
1 answer
119 views

iOS apps that lets you SSH into a server using Yubikey 5 NFC with Public Key authentication and gpg-agent

I have a Yubikey 5 NFC, and iPhone 11. I am also running an Ubuntu Server. To log into my server on from mac using ssh. I use ssh with gpg-agent and public key authentication, and have the private (...
  • 636
0 votes
0 answers
19 views

What is the most efficient way to use rsync to confirm transfer of large folder

I’m using a synology ds214 and I have a 6tb folder I originally was using USB Copy to transfer to an external drive connected directly to the nas. That process failed somewhere along the way and I ...
  • 11
0 votes
1 answer
61 views

Using multiple github accounts with ssh keys, works only first try on each account

Following different pages I ended up with a ~/.ssh/config looking like this: Host github-personal HostName github.com IdentityFile ~/.ssh/one_key Host github.com HostName github.com ...
  • 1
0 votes
1 answer
46 views

looking for an SSH client that allows xwindows

I've recently started using macOS. I am looking for an SSH client that allows xwindow tunneling through SSH. As suggested, I've installed Xquartz via brew but whenever I try opening an xwindow based ...
  • 121
7 votes
1 answer
398 views

Warnings on SSH processes

It's been a while since I've needed to connect to a server via SSH. When I tried to connect today, Little Snitch gave me this warning: The program "ssh" has been modified Previously, the ...
1 vote
1 answer
50 views

SSH Keys Broken

I had keys set up for SSH'ing to a remote server without password, however they no longer work. The only change I can think of is that I install HomeBrew - I did not update / install a new OpenSSH. My ...
  • 113
0 votes
0 answers
84 views

SSH unable to login, commit, deploy since updating to macOS 12.6.2

Somehow ssh stopped working on my machine the way it used to prior 12.6.2. Pre 12.6.2 I was able to commit to GitHub, deploy through capistrano from Bitbucket or Github with keys. Currently I can ...
  • 667
0 votes
0 answers
480 views

Issues with ed25519-sk keys with ssh on Mac Ventura

I am unable to use ssh keys of type ed25519-sk (signed-and-send via Yubikeys) to login after an upgrade to Mac Ventura. The only changes to /etc/ssh/sshd_config are: AuthenticationMethods publickey ...
  • 101
1 vote
0 answers
153 views

MacOS can't display an open3d window from remote server,GLX_ARB_create_context_profile is unavailable

Problem Device and OS version: MacBook Pro 2021 Apple Silicon 13.0.1 (22A400) The remote server can't forward open3d window to my Mac the codes are as follows: import copy import numpy as np import ...
1 vote
0 answers
79 views

After creating and adding an ssh key into the keychain I am not seeing it when I call the command `ssh-add --apple-load-keychain`

Following GitHub's guide for setting up ssh keys and adding it to an agent I created a new ed25519 key. However, after trying to add it per the instructions I am unable to see that my key has been ...
  • 197
0 votes
0 answers
100 views

Ansible stuck at gathering facts when trying to run playbook to configure Mac running macOS Ventura, Apple M1

I am trying to run Ansible to configure my new mac. The repo that I am using is from SaiKrishnaMohan7's Github. This is my first time using Ansible and I am not as familiar with it. When I run my ...
  • 101
2 votes
1 answer
24 views

Troubles connecting to a Macbook remotely after some time has passed

I have a Macbook (an early 2013 retina 15'', running Catalina) attached to my local network via wire with a static local IP. It is running in clam-shell mode with the lid closed and without any ...
0 votes
0 answers
106 views

How to use rclone on macOS with ssh-agent?

I have ssh setup and working for passwordless access to my server, which basically consists in adding the following snipet to my ~/.ssh/config file (I use an ed25519 key): Host * UseKeychain yes ...
0 votes
0 answers
77 views

Find DHCP hostname and IP address of remote computer (behind firewall)

I’ve got a Mac at work, behind a firewall, with an IP address and hostname assigned via DHCP. If I have the hostname and/or IP address, I can use ssh or a vnc client to access the machine if I ...
0 votes
0 answers
16 views

How to route traffic from one Mac through VPN that's only available on another Mac via the underlying Unix OS?

Network 1 has 2 computers, Mac1 and Mac2. Mac1 has access to a VPN. Mac2 does not. For Mac2, how can I route its traffic through Mac1 so that it also has to pass through the VPN? Note, with newer Macs,...
1 vote
1 answer
646 views

XQuartz needs opening twice since macOS 13 Ventura

Since I updated to macOS 13 Ventura, whenever I try to switch to XQuartz I have to switch twice for it to show me the window. The first time I click the icon or do Cmd+Tab to the window, the window ...
  • 113
1 vote
2 answers
164 views

ssh from Mac over WiFi while also connected to Ethernet

I'm trying to connect to a microcomputer from my Mac over WiFi via ssh but am also connected to Ethernet. If I go to System Preferences > Network, I can see that I'm connected to both the Ethernet ...
1 vote
0 answers
22 views

Port Forwarding through SSH with Proxy

I am able to SSH into my bastion host using following command. ssh -o ProxyCommand="nc -X 5 -x 127.0.0.1:7890 %h %p" user@<bastion_server> -p 22222 Now I would like to perform a port ...
  • 111
2 votes
0 answers
63 views

Disable SSH at public, leave on at home

I have SSH (remote login), VNC (screen sharing), and SMB (file sharing) all enabled via the sharing menu in settings. I need these at home. When I go to somewhere & connect to public wifi, these ...
  • 1,199
1 vote
2 answers
89 views

Can't connect Macbook to VPS through SSH after Ubuntu upgrade

I have just upgraded my VPS from Ubuntu 20.10 to Ubuntu 22.04. After the upgrade, my server has OpenSSH 8.9. After the upgrade, I can't access my VPS anymore through SSH using my Macbook Pro. I am ...
  • 131
1 vote
0 answers
255 views

Use Homebrew version of OpenSSH for incoming connections

I'm trying to get my system (Ventura) to use the Homebrew version of OpenSSH for incoming connections, so I can ssh into that machine using hardware keys. The built-in sshd does not accept hardware ...
1 vote
2 answers
90 views

Possible to enable passwordless remote login without RSA keys?

I have a very short term need on my own home network that nobody else has any access to whatsoever, to allow one mac to SSH into another and issue a restart command. I want to script this so that it'...
  • 2,633
2 votes
0 answers
274 views

How to configure Xcode's SSH client?

We've enabled SSH certificates for all repositories in our private GitHub organization recently. To use certificates, I've added CertificateFile keyword to the SSH configuration file in my home ...
0 votes
0 answers
210 views

rsync freezes in macos ventura

I often ssh to a server or directly rsync some folder there to my local machine without any special config. After upgrading to MacOS Ventura, they no longer work. rsync just freezes after asking my ...
0 votes
1 answer
669 views

ssh issue after updating mac os 13 [duplicate]

Im Using ssh tunnel its was working before update, But after update im not able to do ssh on 2nd host.It keep asking me password. Even key is same, first jump host its working. So i don't think issue ...
  • 1
0 votes
0 answers
35 views

Remap keys for Home/End for ssh connections

I have a Mac Arm M1 running Monterey. I typically use my mac by ssh-ing into the mac and then using vim/grep whatever cli utils. How can I make it so that the Home/End keys work as expected like they ...
1 vote
1 answer
359 views

SSH Authentication stopped working

Following the macOS update (to Monterey 12.6.1) my ssh authentication stopped working. I was getting a "Repository not found. Please make sure you have the correct access rights." I have ...
1 vote
0 answers
38 views

ssh: saving password in keyring app

I am a user of a linux server with 2 level password authentication (public key+password). I log in with ssh on the terminal. My client is MacOSX. My passphrase for the public key is stored in the mac ...
  • 213
0 votes
0 answers
37 views

How to come out of screen session on a remote server?

I am not able to recall I used to do it in past. I am connecting to a remote linux machine from my MacOS. I could create the session by running screen S sessionname but unable to come out of it ...
  • 465
2 votes
2 answers
43 views

How do you set the display correctly when SSH ing from Yosemite to Catalina?

My question is quite similar to this one, except I would like to ssh from a Yosemite Mac Pro to a Catalina Mac Pro and run Firefox GUI. So far I have tried the following: user@yosemite-machine:~$ ssh ...
1 vote
1 answer
72 views

The "ssh-keyscan 192.168.1.X | ssh-keygen -lf -" command does not work in macOS "El Capitan"

In Linux and (Windows through gitbash) if is executed the command: ssh-keyscan 192.168.1.X | ssh-keygen -lf - Works as expected, but in macOS (El Capitan) arises -: No such file or directory # 192....
9 votes
3 answers
2k views

Tilde character in password interferes with SSH login

From my Mac I sometimes access remote machines with ssh providing a username and password. The password is generated and sometimes contains a ~. As soon as I hit the ~ in the password, I get some kind ...
  • 521
0 votes
1 answer
189 views

How to change ssh port number when installed through MacPorts?

I have OpenSSH installed via MacPorts on a macOS 10.14 system. I want to change the port its listening on to something other than 22, and have changed /opt/local/etc/ssh/ssh_config and uncommented the ...
  • 1,950
3 votes
1 answer
914 views

How can I use my YubiKey certificate as SSH private/public keys on macOS?

The YubiKey provides authentication with PIV. How can I use my YubiKey smart card certificate to connect securely to other hosts with SSH using the public key method?
  • 71
1 vote
0 answers
66 views

Disable notarization checks for SSH sessions

With macOS 10.15 and later, before an executable runs for the first time, macOS will query an Apple server. This can be a significant hindrance with some development tasks: I'm dealing with a test ...
  • 2,589
0 votes
1 answer
50 views

Apple Watch app to trigger shell scripts on remote UNIX box

I've finally switched from a Pebble Smartwatch to an Apple Watch, and I need a replacement for this app: https://store-beta.rebble.io/app/568a4cfa496916a93f00004e The watch displays a list of shell ...
  • 6,965
3 votes
0 answers
102 views

iTerm2 - Split and connect to same host

When splitting with Cmd+D, is it possible to have iTerm2 SSH to the same host as the previous pane? I'm looking for an option like is mentioned in the post iTerm2 - Split vertically with current ...
  • 31
6 votes
1 answer
2k views

SSH on Ventura - How to deal with hosts running very old versions of OpenSSH?

Ventura [13.0 Beta (22A5352e)] ships with OpenSSH_9.0p1. According to the OpenSSH release notes: This release disables RSA signatures using the SHA-1 hash algorithm
 by default. This change has been ...
  • 345
0 votes
0 answers
345 views

SSH Agent not working for applications other than Terminal

I use Atom to edit files and write code. So far I have been using a package called remote-editor that can do sftp and allows to see the remote server in the file tree. Really convenient when you ...
0 votes
0 answers
45 views

home directory . is reset to 777

I'm trying to keep ssh access working without a password, using key authentication. I spent a lot of time looking for solutions until I stumbled across the need to set the home directory . to 711 (and ...
  • 1
0 votes
0 answers
36 views

How can I install sshfs on OSX? [duplicate]

I want to mount remote directories with sshfs. But how can I install it? Usually I install software with brew. However, in this case it doesn't seem to work: $ brew install sshfs Error: sshfs has been ...
1 vote
1 answer
112 views

How to let local user access to ssh

I have local user usr1 and root user in my mac. I can ssh using following command as a root user to a remote server but can't ssh using usr1. ssh -i .ssh/pem1.pem ubuntu@server1 I know since the ...
  • 113

1
2 3 4 5
18