All Questions
94
questions
0
votes
1
answer
40
views
Is it possible to set up a remote login session where a specific user only has access to certain folders, and can only run one executable?
I have a server where I'd like to grant a user the ability to log in remotely, but restrict the session in two specific ways:
They can only access a certain set of folders on the computer, and for ...
0
votes
1
answer
632
views
How do I copy text from vim on a remote host in Terminal, to local MacOS clipboard?
I've googled the heck out of this but nothing I try solves the problem. Help?
Context
I'm running vim on a remote linux machine, which I ssh to in Terminal.app.
I have root on the remote machine, so ...
1
vote
0
answers
326
views
scp: ambiguous target when attempting to copy directory with an apostrophe and spaces in the name
I am trying to use scp to copy a directory by using ssh through windows terminal to connect to my mac and then use scp to copy a folder to my raspberry pi; I have tried many variations such as
scp -r &...
0
votes
1
answer
3k
views
ssh localhost, getting permission denied (password). (Windows 11)
I am trying to ssh into my windows 11 machine from my mac but continue getting a Permission denied, please try again. After a couple of failed attempts I get username@localhost: Permission denied (...
0
votes
2
answers
272
views
SSH login@ip@gateway through config+VSCode
I can successfully connect from my macbook+VPN to my corporative cloud server through ssh with this command (passwordless, using my id_ed25519 key):
ssh login@ip@gateway -A
But I need to connect to ...
3
votes
5
answers
4k
views
Why rsync keeps sending same files each invocation?
I'm using rsync to copy file from Linux to Mac over SSH.
My command looks like this:
rsync \
--exclude FOO \
--exclude BAR \
-e ssh \
-rclpvih \
--delete \
--stats \
/local/...
2
votes
1
answer
4k
views
ssh -X warning: X11 forwarding request failed on channel 0
When I run ssh -X my_host I get the error:
"X11 forwarding request failed on channel 0". (ssh -Y my_host gives the same error)
My host is a Gentoo Linux machine and my client is a macOS ...
0
votes
0
answers
33
views
how to ssh into linux lab from Mac?
Facing problem to ssh into Linux from mac.
ssh: connect to host 35.184.51.144 port 22: Operation timed out
1
vote
1
answer
584
views
SSH Permission denied when subnet is /31
I am trying to make a point to point ipv4 link with a device running Ubuntu 18.04 . if I set the device to 192.168.1.48/31 and in then OSX I set my ethernet dongle to 192.168.1.49/31, I am able to ...
0
votes
1
answer
32
views
How can I sign in to my VPS/shell account without having to type my password each time?
How can I sign in to my VPS/shell account without having to type my password each time? I have tried pasting a shell script including Prolog code but the password doesn't paste properly.
0
votes
1
answer
865
views
ssh can't connect and I can't understand why
I'm trying to connect from a mac (osx 10.14.4) to a linux machine (Ubuntu 18.04.2) through ssh. I'm not an expert in shh, this is my first attempt to use it, but what seems to happen is that the ...
0
votes
0
answers
73
views
Avoid using remote identity file when using ssh on remote server [duplicate]
I'm connected to serverA with SSH. I have one identity file on my local computer, which I use to authenticate to serverA, and one identity file on serverA which I use when I'm at that computer ...
0
votes
1
answer
1k
views
Reoccurring ssh_exchange_identification: Connection closed by remote host error MacOS (Only fixed by resetting ssh each time)
I am spinning up multiple remote instances via Google Cloud and scp-ing scripts to these instances to run them and get the results scp-ed back to my local computer. Things start smoothly but after a ...
0
votes
1
answer
2k
views
SSH tunnel between 2 machines using macOS
I'd like to create an SSH connection from localhost that would go through host1 and connect to host2.
My local machine runs macOS. host1 and host2 are AWS machines that require PEM files for ...
0
votes
1
answer
11k
views
ECDSA host key for has changed - add host with all ports to ignored
I'm using Docker, so I have single host with multiple IPs. From time to time I have to rebuild images, so when I try to SSH to this host I'm getting warning:
ECDSA host key for [192.168.0.196]:285 ...