Questions tagged [ssh]
Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.
3,692
questions with no upvoted or accepted answers
0
votes
0
answers
488
views
Can't login as root via SSH after adding another user
Login via SSH worked fine for a long time until i add another user and enable password authorization (it was public key only). Now I can't login as root neither with password or public key. But I'm ...
0
votes
0
answers
1k
views
ssh into a Win 11 PC: Authentication refused, Failed publickey
I mean to ssh from a Win 10 + msys2 client (PC1) to a Win 11 + OpenSSH server (PC2).
I followed the usual procedure in PC2 to enable OpenSSH server, via Powershell (as I have successfully done before, ...
0
votes
0
answers
400
views
How to create a temporary user account on OS X
I want to create one or more user accounts in OS X that operate similar, but not the same, to a Guest user account in OS X:
Files created by a guest are stored in a temporary folder, but that
folder ...
0
votes
1
answer
511
views
vagrant up and vagrant halt does not work fine. it shows the command failed using the windows 11 OS and vagrant 2.3.0 and virtual box 6.1.36
I have created my own box file and tried running but i am getting the below error. please help on this.
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing ...
0
votes
1
answer
631
views
How to Access virtual box ‘Windows 11’ remotly
I need help in accessing windows on virtual box from mac OS with Remote Desktop.
Host: mac os
Guest: windows 11
0
votes
0
answers
2k
views
How to SSH into virt-manager guest from host?
I have a Debian host OS. I installed virt-manager and created a guest Ubuntu 22.04 OS on a virtual machine.
I retrieved the IP address of the guest OS by running ip addr on the (Ubuntu) guest OS's ...
0
votes
0
answers
30
views
SSH remote connection not connecting
I'm trying to remotely access an external device connected to my linux device ( behind a firewall ) from a windows machine. I have a public server and have GatewayPorts set to yes in the ssh ...
0
votes
0
answers
50
views
How i can allow/activate diffrent port for SSH from only one IP?
In my system, servers use different ports for SSH. But one of the applications can connect servers with only port 22 for SSH. I can't change the servers' ssh port because of some security rules. Is it ...
0
votes
1
answer
351
views
Trying to ssh my git server with private key, asks also for a password
I setup my git server with user git without password.
git home directory is /media/nas/programming/git_repos where I have a file ./.ssh/authorized_keys with my public key.
I am trying to push with git-...
0
votes
1
answer
464
views
Why can't I scroll or use ctrl-a/ctrl-e when using screen?
I use iTerm2 and I realized that when I'm using screen: ssh -t [username]@[domain].edu 'screen -DR'
I noticed the following vagaries:
I can't use my mouse to scroll up and down in an iTerm2 window
I ...
0
votes
0
answers
1k
views
SSH into WSL2 from another machine outside local network
I'm trying to deploy a distributed systems hadoop framework project. Thus, I downloaded and installed WSL2 on my personal PC and created 2VMs as Linux Servers. Now, I need to SSH into the master node (...
0
votes
1
answer
346
views
Reverse autoSSH tunnel does not work
For some reason my autossh reverse tunnel does not work.
This is my command:
└─# autossh -M 12121 -N -f -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /root/.ssh/...
0
votes
1
answer
68
views
AWS bastion host to ec2 instance. SSH forwarding is not working
At AWS cloud platform, I provisioned a bastion host and ec2 instances. I would like to login to ec2 instances from the bastion host using ssh agent forwarding. It is not working. Here is what I've ...
0
votes
1
answer
229
views
How to transfer files to server with RSA key auth?
I'm in PowerShell and I can ssh into the server via:
ssh -i my_rsa [email protected]
How can I transfer files with this same my_rsa private key? Filezilla doesn't support the key and I've tried to convert ...
0
votes
0
answers
104
views
Windows install docker from binary and set docker environemt variable
I have to install docker on Windows from binary.
I downloaded them and installed them as described in the documentation.
I can run docker ps in the folder I installed docker at.
Outside of this folder ...
0
votes
0
answers
90
views
Reverse SSH connection (over eth1) gets dropped when eth0 receives an IP
I have a linux device that makes a reverse SSH tunnel over a 4g dongle (eth1) to an amazon server.
This allows me to connect on the device after connecting to the amazon server.
As soon as I insert an ...
0
votes
0
answers
394
views
Can I log into Windows OpenSSH with default shell as pwsh.exe?
I can't login to Windows OpenSSH is my default shell is not powershell. If it is, then
reg add HKLM\SOFTWARE\OpenSSH /v DefaultShell /d C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
makes ...
0
votes
1
answer
849
views
Execute Script Via SSH And Disconnect Immediately
The idea is to connect to a remote machine via ssh and execute a shell script without waiting for it to finish.
EDIT: The issue was ssh, not nohup.
0
votes
1
answer
39
views
Simultaneous VPN and SSH connections on the same adapter
Assuming a device with no firewall restrictions. Is it possible to have a VPN connection in parallel with an SSH connection on the same adapter? Is it possible without having the SSH connection going ...
0
votes
1
answer
1k
views
Failed to connect to port when trying to use SSH remote forwarding
I am learning how to do SSH remote forwarding and I am trying to practice that using two virtual machines on my computer. One is runs Kali and hosts an apache web server configured to listen on port ...
0
votes
0
answers
335
views
How to generate random session for SSH ID in Linux?
I am searching about random session ID for ssh in Linux.
If someone accessses with SSH the session ID increases sequentially, How to generate a random session ID?
Example. setting in OS or Include ...
0
votes
0
answers
222
views
Two out ot three/four clients fail in using ssh key
I have a problem establishing a connection to a remote linux machine from a Windows 10 Pro notebook. I normally use password-less SSH connection and this is the first time I encounter this problem: I ...
0
votes
1
answer
919
views
Cannot exit sftp
I'm having some major issues with sftp. Currently I can transfer files to and from the server just fine but I cannot actually exit; typing exit or bye does not return me to my PC's shell but just ...
0
votes
1
answer
1k
views
New user gets permission denied
After creating a new user and granting sudo power to it, it gets permission denied.
I am the root, logging in as ubuntu@nameserver, when I try to login with the user i created to myself, I get ...
0
votes
1
answer
426
views
ssh to linux home computer, without configuring the router: possible at all?
There are many tutorials on how to setup a linux computer at home so you may connect to it remotely via ssh, but they require to do some configuration on the router.
Is there any way to setup ssh (or ...
0
votes
1
answer
2k
views
Fedora 36 - Cannot connect to ssh - Permission denied (publickey)
I'm trying to git clone from my employer's site, but I'm stuck at the "Permission denied (publickey)." error message.
Right now, I just want to connect to the host, using ssh command. Added -...
0
votes
1
answer
3k
views
Multiple level host alias in ssh config
My system admin manages a set of SSH configs for our remote servers, these configs are updated and pushed to my /etc/ssh/ folder regularly. However, host names in the managed ssh configs are too long ...
0
votes
1
answer
519
views
BackupPC rsync failing because it is using the wrong SSH user
Permission denied, please try again.
Permission denied, please try again.
[email protected]: Permission denied (publickey,password).
rsync_bpc: connection unexpectedly closed (0 bytes received so ...
0
votes
0
answers
2k
views
Can't convert OpenSSH private key to RSA
There are numerous sources online including this one that say an OpenSSH private key:
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNz....blah etc....DBAUGBwgJ
-----END OPENSSH PRIVATE KEY-----
can be ...
0
votes
3
answers
2k
views
Unable to Connect to SFTP with Public Key
We use Copssh and we are having an issue getting Public Keys to properly work when connecting our SFTP. I've looked up as much as I could related to permissions, steps, etc. but I get a "Server ...
0
votes
0
answers
715
views
Cannot ssh into server with correct password
Hello — I've suddenly stopped being able to ssh into a server I've been regularly accessing for years. There also weren't any notable changes/updates to my own computer between the time I could access ...
0
votes
0
answers
704
views
ssh-agent is not keeping private key
Using an Ubuntu server, I have the following user:
uid=1001(githubactions) gid=1001(githubactions) groups=1001(githubactions),27(sudo),33(www-data),998(docker)
logged in as this user, I create a ssh ...
0
votes
0
answers
1k
views
KEX error - "kex protocol error: type 30 seq 1" after windows 11 update
Local machine has a bitbucket repository cloned using SSH. After windows 11 update, git push/pull etc cause the error "kex protocol error: type 30 seq 1". I can't find a working solution ...
0
votes
0
answers
69
views
Running pod install through plink gives sh:1: command not found: pod
I want to run pod install on macOS 12.4 remotely from a windows 11 machine.
Im currently using (option 1)
plink -ssh -v 192.168.101.129 -l user1 -pw pw1 "pod install"
However, this gives
sh:...
0
votes
0
answers
2k
views
"CocoaPods requires your terminal to be using UTF-8 encoding" in SSH session from Windows to macOs
I need to run pod install on macOS 12.4 through ssh remotely from a Windows 11 machine.
To do this, I ssh into the macOS machine through cmd. However, when I run pod install in the secure shell, I get ...
0
votes
1
answer
349
views
How to local forward multiple hops?
I'm trying to access web server running on serverB and port 10010 from host machine (my PC). In short, the server is running on serverB's localhost:10010.
To do that,
I have to local forward from ...
0
votes
0
answers
63
views
How do I bypass this removal denial?
Pardon the ignorance and if this is a repeat question.
Don't quite understand SSH keys, but I need to understand SSH keys so here I am lol..
Previous posted about having issues with an SSH transfer.
...
0
votes
1
answer
685
views
SSH connect to vagrantbox from host via the hostname (of the VM)
I'm setting up a Vagrantbox to act as a test-VM for one of my actual physical machines. I'm testing my Ansible scripts there. This works quite well so far.
My Vagrantfile:
# -*- mode: ruby -*-
# vi: ...
0
votes
1
answer
235
views
How to dump stdin data in powershell to file?
I'm trying to dump stdin data (file/photos/videos etc) from local (linux/jailed iOS) to remote (Windows) via ssh. In normal situations where local and remote are linux, this works:
#! /bin/bash
dest=&...
0
votes
0
answers
839
views
How to open a web page on my Linux desktop from PuTTY?
I would like to be able to open a web page on the desktop of my Linux (Ubuntu) from PuTTY. It is not a question there I think of X11, perhaps of display I do not know but my objective is really to ...
0
votes
0
answers
143
views
Debian SSH cant sudo
i have a Debian Server which only can be accessed remotely via SSH.
And i have a Couplet of Problems.
When i try to login as root it does not accept my password.
When i am logged in as normal user i ...
0
votes
1
answer
567
views
How do I ensure tmux disconnects when session times out, instead of exiting
Compliance requires a 10 minute timeout on ssh sessions.
I want to use tmux so I don't lose the stdout from long running processes.
[ -n "$PS1" -a -z "$TMUX" ] && exec tmux ...
0
votes
0
answers
281
views
Automatically enable sudo mode when connecting to a VM through putty
I'm using the following shortcut to log into my Ubuntu VM:
"C:\Program Files\PuTTY\putty.exe" -ssh xxx -pw yyy
I tried running sudo -i on startup, like so:
"C:\Program Files\PuTTY\...
0
votes
0
answers
196
views
Devices on Network Intermittently Unable to Ping Each Other
I'm trying to connect to an NVIDIA Jetson AGX Orin DevKit (Ubuntu 20.04) over my local network. I believe that I've set up the SSH server correctly because sometimes I'm able to connect to it. However,...
0
votes
1
answer
3k
views
How to disable StrictHostKeyChecking in Plink? (Using plink so I can specify password)
Yes, I know, it's insecure: I will be using this for my personal Raspberry Pi, on my personal computer, on my home wifi, and I will have nothing important on there.
I'm just making a profile in the ...
0
votes
0
answers
840
views
Can't connect to remote SSH server, port 2222
I have problem with connection to remote server via SFTP from my MacOS, tested in FileZilla. Terminal SSH connection with same user&name (or key) works correctly.
open "user@server_ip
...
0
votes
0
answers
91
views
SSH Tunnel not working with VPN
I'm using my home macmini connected to a AWS EC2 with reverse tunnel. I start the tunnel with a LaunchDaemon using this config:
<array>
<string>ssh</string>
<...
0
votes
1
answer
147
views
how can I find the ubuntu username and password for ssh from my windows 10 laptop
I used the user info for the only account on my ubuntu laptop, but it keeps saying incorrect password.
I even used the username that comes up on the terminal.
0
votes
0
answers
174
views
Reverse SSH on Windows Git BASH
I have multiples Windows 10 computer where I can't open anymore ports, neither install more software. But those computers have git bash installed on it.
I would like to be able to run some bash script ...
0
votes
0
answers
1k
views
How to fix permission denied publickey on Windows10 Git Bash?
I'm unable to ssh into a machine that operates bots of my friend. He added my public ssh key, so i can join, but I get the permission denied privatkey error message.
I removed the actual ip
$ ssh -vT ...