Questions tagged [ssh]

SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

Filter by
Sorted by
Tagged with
-2
votes
0answers
20 views

How can use rsync in place of cpio?

In the following link "how to use find in scp command", how to use find in scp is explaqined. In the same command ( ssh username@ip-adress '(cd /path/to/sourcedir; find . -print | cpio -oBav -Hcrc)' | ...
0
votes
0answers
13 views

debug2: we did not send a packet, disable method (ssh authentication via pub key)

I am trying to get authentication via public key working. I ran: ssh justin@xxx.xx.xxx.xxx -vv It returned: debug1: Authentications that can continue: publickey,password debug1: Next authentication ...
0
votes
0answers
21 views

ssh key validation not working/ ssh: connect to host *** port 22: Connection refused

I am following a relatively short and simple guide on this (https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2) Step One—Create the RSA Key Pair ssh-keygen -t rsa "Your ...
2
votes
1answer
60 views

Is my ssh key correct? It doesn't start with 'ssh-rsa' (Trying to set up private key validation, worried about being locked out of server)

I am trying to set up private key validation on my server. I think this is a simple question, I just don't want to get locked out of the server by mistake. I generated an ssh key with ssh-keygen, it ...
0
votes
0answers
35 views

18.04: Graphics card not recognized in SSH connection

I was using a desktop Ubuntu 18.04 and decided to use it as a server and installed ssh and connected it with X11 forwarding in putty on Windows. When I check glxinfo i can't see my Graphics cards name,...
1
vote
0answers
15 views

Replacing ssh-agent for gpg-agent

I was trying to use gpg-agent as a "drop-in replacement" of ssh-agent. My understanding was that I needed to: add enable-ssh-support to ~/.gnupg/gpg-agent.conf comment use-ssh-agent from /etc/X11/...
1
vote
0answers
60 views

why are colors dark and unreadable with ssh? cyan in ubuntu = dark blue in ssh, unreadable

Could anyone help me just making the colors in ssh match the actual server colors? changing the background just makes other colors unreadable. and is harder to look at as well. Im using ubuntu1804lts. ...
0
votes
0answers
66 views

Debian - Permission denied, please try again.- But correct credentials [closed]

I was working on a remote server and went to reload apache: systemctl reload apache2 I had forgotten to write sudo before that command and was prompted with: Authentication is required to reload '...
0
votes
0answers
64 views

How to disable sudo privileges to a user in Linux Ubuntu?

I have created an ssh key-based user in my server. I want to disable all sudo privileges to that particular user. I have done the following; sudo deluser user sudo /usr/sbin/deluser: The user is ...
0
votes
0answers
18 views

Can I use SPICE as a VNC replacement for fast local 5ghz remote desktop?

I know spice is used by virt-manager to control virtual machines. Can I use SPICE to do the same thing but over a fast 5ghz local network? I want to control the machine on the other room but I need it ...
0
votes
0answers
28 views

Ubuntu server fingerprint changed and now I can't login to any account via ssh

Kind of new to this whole Ubuntu Server thing. My server got unplugged at some point. Upon bringing it back online, when I tried to login with my account on my laptop, it said the fingerprint changed....
0
votes
0answers
25 views

Reverse ssh | SSH bridge to access Postgres behind NAT

If this is duplicate, please, advise the proper question. I have DataGrip IDE to connect to Postgres, but I can do this only inside a corporate network, cause Postgres host is behind NAT. DataGrip ...
3
votes
1answer
199 views

How can I prevent `curl` from printing a table with progress information?

From 16.04 command line: $ ssh user@gatorback.asuscomm.com "curl http://192.168.8.5/tstat" % Total % Received % Xferd Average Speed Time Time Time Current ...
0
votes
0answers
24 views

how can I resize terminal text without gconftool? [duplicate]

I write ascii art for the terminal. Sometimes I want to resize the text on the screen, where I would then use gconftool to resize the text on screen. it turns out some systems do not have gconftool, ...
0
votes
0answers
21 views

Port Forwarding Example: Test Failure Troubleshooting

This is a follow-up question to the example Troubleshooting Local Port Forwarding Example Attempts to reproduce a Local Port Forwarding example on 16.04 with the command: $ ssh -L 8080:www.slashdot....
0
votes
2answers
55 views

SSH : connect to host 192.xx port 22: connection refused

I have 18.04 two PCs connected through LAN cable. I am able to ping PC2 from PC1. But when I try SSH to PC@ I get the following error ssh agd@192.168.1.211 ssh: connect to host 192.168.1.211 port 22: ...
0
votes
0answers
30 views

issue curl command from remote WAN

The goal is to send commands to a thermostat from a WAN offsite network. A thermostat sits behind a firewall at 192.168.1.5. Because it was designed to blindly accept commands: I am reluctant to ...
0
votes
1answer
29 views

Troubleshooting Local Port Forwarding Example

Attempts to reproduce a Local Port Forwarding example on 16.04 with the command: $ ssh -L 8080:www.slashdot.org:80 localhost returns: ssh: connect to host localhost port 22: Connection refused ...
1
vote
0answers
41 views

Connecting to a VPN on a remote linux server (VPS) fails

I've been trying to connect to a VPN through my Ubuntu VPS, but every time I try, the server shuts down. Perhaps the connection blocks the ssh, and all the traffic when I try to connect? I tried ...
0
votes
1answer
43 views

can't log in with my password during ssh connection

my /etc/ssh/ssh_config is as follows # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can ...
0
votes
0answers
24 views

How to configure SSH for server accessible by a domain name [closed]

How can I make a SRV record for my ssh server so I can connect to it using s2.nordicpvp.tk domain name?
0
votes
0answers
21 views

using ssh agent without -A option in ssh [closed]

i have have to connect to server_A from which i have to connect to server_B using private key from my Local machine and I want to use this without -A option in ssh command. Is there a way to do that? ...
1
vote
0answers
15 views

SSH jumphost does not execute ForceCommand

When I have a "ForceCommand" in my SSHD config, when I directly login to the host, I see the script specified in the "ForceCommand" being executed. However, when I use the host as a Jumphost, I don't ...
0
votes
0answers
189 views

Is there a way to bind an already running GUI application through SSH so I can see it when I access the device remotely?

After I leave work, I would like to access the windows that I have left open on my Ubuntu 18.04 machine. I have SSH access and can remotely start GUI applications. However, I would like to see the GUI ...
1
vote
0answers
29 views

Why is port 22 showing connection refused when logging in using Ethernet?

I have been facing a problem login into our server every time I switch from Wi-Fi connection to an Ethernet connection on my laptop. Using my laptop, I can easily connect via Wi-Fi but the problem ...
0
votes
1answer
52 views

SSH Key Registration Not Preventing Prompting of Password

I recently switched from Ubuntu 19.10 to Kubuntu 19.10. Ever since doing so, servers I ssh to always prompt me for password, even though I've used ssh-copy-id to register my public ssh key with those ...
0
votes
0answers
16 views

SSH script to make a file in a folder inaccessible if it is opened previously and make it readable when closed

I have files in a folder and I am accessing those files via sshfs through remote locations. I just want to know if there is a way to make the files accessible by only a single user i.e if some one ...
1
vote
1answer
51 views

Ssh proxy server

Hi I have Ubuntu server. I want to install a ssh proxy server like below. https://cyberssh.com/ssh/region/europe I want use eproxy APK. Port 443 Socks5 Local port 1080 Udp port 7300
0
votes
1answer
45 views

ssh login stucked

I can login in ssh but it stucked somewhat during after pledge notification debug1: pledge: network debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 PTY allocation ...
1
vote
0answers
31 views

X11 forwarding not working

I'm having a puzzling issue with X11. I am running Ubuntu 19.10 on a desktop, from which I can ssh to Server A where X11 forwarding works nicely (i.e. X11 on my client side works), but on the other ...
0
votes
1answer
63 views

How can I find images in a directory?

How can I find 5 JPEG files whose names contain the "intro" word in some form, in a directory? Also there is a hidden one file among these 5.
0
votes
0answers
37 views

Connect Multiple nodes for hadoop via ssh on ubuntu

We are trying to set-up a two-nodes hadoop clusters on two different machines. SSH to localhost without password have been setted up on both machines. And hadoop can run well as single node on each ...
0
votes
1answer
19 views

How to connect to localhost of headless server (for Syncthing)

I was unable to use ssh pi@raspberrypi.local -L 8384:raspberrypi.local:8384 -N to connect to localhost:8384 when installing Syncthing. This was odd because I successfully connected to another ...
0
votes
0answers
13 views

Make localhost GUI available with IP of host

I have a headless Raspberry Pi running and want to set up the synchronizing service Syncthing. This service provides a browser-based GUI which is accessible via localhost:PORT. Obviously, this only ...
0
votes
0answers
36 views

SSH continue to ask for password prompt

I appreciate this is a recurring question, but I'm really struggling to get my SSH connection password-less irrespective of the many threads and changes I've done so far. I do remember this was once ...
2
votes
0answers
29 views

gnome-control-center sharing over SSH: core dumped

I am logged onto a remote Ubuntu computer over SSH (using the -Y option. I am trying to enable screen sharing remotely, so I typed the command: $ gnome-control-center sharing And I got this error ...
0
votes
0answers
25 views

Xubuntu no sound when ssh or vnc

I have a NAS running Xubuntu 18.04.04 installed using Ubuntu 18.04 mini iso and Xubuntu minimal. Asus Xonar SE sound card is installed on the NAS. SSH and VNC servers are installed on the NAS. When I ...
0
votes
0answers
54 views

Setup ssh server on a headless Ubuntu server with a removable boot disk

I have a computer with an industrial control type motherboard with no video output ports or video cards. Ubuntu 18.04 server OS boots from a Compact-Flash drive. I installed the OS via cloning. I ...
1
vote
0answers
31 views

Server is unavailable after client logged out with an SSH terminal open

I am running Ubuntu 18.04 LTS on my home laptop (server) and Windows 10 laptop with WLS running Ubuntu (client) but I do not have physical access to my home laptop at the moment. Until recently I was ...
0
votes
0answers
14 views

Rsync, crontab and kwallet for ksshaskpass

I have a problem with a crontab command. I use rsync to save many files by ssh with : rsync -e ssh --rsh='ssh -p0000' -avthzP --delete --min-size=1k --append --exclude '*.iso' --exclude '*.txt' --...
0
votes
1answer
60 views

Is it possible to set the ssh default login user as 'root' in <user>@ip when none is set

Is there a way to set it so that when you do ssh 123.122.123.123. it will use the user root instead of your logged in user as if you did ssh root@123.122.123.123 so every time you specify no user, it ...
0
votes
0answers
16 views

Trying to use scp and pscp to transfer a file!

I am trying to transfer a file from my local desktop to my ubuntu ip. I have tried the command scp (my file) ubuntu@172.31.95.248:/opt/siff to directly transfer it where I want to, however I either ...
0
votes
1answer
25 views

Ubuntu 19.10 - Laptop won't reboot/shutdown if the lid is closed (SSH)

I'm using an HP laptop as a server, so the lid is almost always closed and it is the only display "plugged". I have configured Ubuntu to "do nothing" if the lid is closed and AC is plugged and this ...
1
vote
1answer
40 views

How to remote SSH to my home Ubuntu server without public IP's?

I tried to look for answers though couldn't find any. I trying to connect to my home Ubuntu server using SSH from a different LAN (far away). If someone could tell me a bit about the configuration or ...
0
votes
0answers
26 views

users and persmissions in a new VPS

I have root user and a "domain" user for the virtual server/domain/site in the VPS. I'm going to disallow root access to SSH, meaning SFTP won't work as well. I want to be able to view logs using ...
-1
votes
0answers
55 views

Job for ssh.service failed because the control process exited with error code. See “systemctl status ssh.service” and “journalctl -xe” for details

output for sudo dpkg --configure openssh-server : https://pastebin.com/GGa0uHAs output for journalctl -xe : https://pastebin.com/Cgewh88r how can i solve this?
-2
votes
2answers
94 views

Error during ssh server installation: connect to host localhost port 22: Connection refused

I am trying to install openssh-server. Then at the end I am getting the error: ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: ...
0
votes
1answer
53 views

How to give a user with a limited shell, regular shell access?

I have a user lets say user1, this user has a limited shell and can only run very few & specific commands if they log into ssh, how do I switch the user to regular access if I'm root.
0
votes
1answer
84 views

cannot ssh into server

[Resolved][Read the answer below] somehow pinging the IP Address resulting in Request timeout, it means there's an issue in the connection, between client and server endpoints. Credits to user68186 ...
0
votes
0answers
12 views

Deploying machine with MAAS with multiple SSH keys

I've recently deployed MAAS into our environment, after having tested it out locally in a lab. It's still in the proof of concept stage at the moment, and one of the potential stumbling blocks (for ...

1 2 3 4 5 96