All Questions
Tagged with openssh command-line
21
questions
2
votes
2
answers
1k
views
Can't I scroll in the terminal up? Terminal shows only 24 rows? The scrollbar on the right fills the entire vertical height of the window?
Based on:
Terminal output scrolling is gone (Headless 11.10 Server, Upgraded from 10.10)
and
https://superuser.com/questions/1331658/why-cant-i-scroll-in-the-terminal
and my own dire situation right ...
0
votes
1
answer
531
views
SSH with "Do not execute a remote command" hangs
I have Ubuntu 22.04 installed on a remote server. I can ssh to the server without any issues.
I often need to open a vnc tunnel with the following command:
ssh -L 5901:127.0.0.1:5901 -C -N -l username ...
3
votes
2
answers
1k
views
Filtering content of command with grep
I am trying to filter out a the output of ssh-keyscan. The goal of this is to filter the output so I can use it in my python code to identify hosts connected to my VPN. Normally I would use grep to ...
1
vote
1
answer
4k
views
How retrieve or recreate a delete file from the /etc/ssh directory
In the /etc/ssh directory exists the following content:
moduli sshd_config ssh_host_ecdsa_key ssh_host_ed25519_key ssh_host_rsa_key ssh_import_id
ssh_config sshd_config....
0
votes
1
answer
396
views
Clusterssh with publickey [closed]
how to login vps with sshpublickey with clusterssh ?
if i using 2 vps with password command
clusterssh username@ip username@ip
so how to using publickey ?
i use ubuntu 16.04
thank you
0
votes
1
answer
5k
views
Why in SSH appears the -T parameter in the Ubuntu documentation but not in the terminal/console?
Having the following OS:
Linux Ubuntu (18.04 LTS)
when I execute the ssh command I got the following:
> ssh
usage: ssh [some characters shown] [-B bind_interface]
[-b bind_address] [-...
20
votes
2
answers
27k
views
How do I setup SSH key based authentication for GitHub by using ~/.ssh/config file?
I am trying to set up my SSH keys for GitHub and created a new SSH key for the same. I have managed to setup the SSH key but I wish to retain these settings and save them in the configuration file ~/....
4
votes
1
answer
5k
views
Using parallel-ssh with public key
I have configured the remote ssh server for login via public-private key pair (only).
I can login into the server and run commands using ssh:
ssh [email protected] -i ~/.ssh/my_key echo fu
I'd like ...
4
votes
1
answer
8k
views
there are stopped jobs, cannot logout
Im on a remote PC, where "there are stopped jobs, cannot logout".
But im leaving, and my connection will break. I tried killing the job, but it still says this.
$ exit
logout
There are stopped jobs.
...
5
votes
0
answers
741
views
Ubuntu 16.04 slow ssh character feedback
I am seeing veeeeeerry slow feedback on remote ssh terminals to a new install of Ubuntu 16.04. E.g., after typing a character it may take 20-30 seconds before it is displayed in the terminal. ...
6
votes
1
answer
43k
views
ssh: connect to host 10.0.2.15 port 22: Connection refused
I have been trying the following command on the virtual machine in Ubuntu:
ssh [email protected]
But I keep in getting this response :
ssh: connect to host 10.0.2.15 port 22: Connection refused
I ...
1
vote
0
answers
34
views
How to use one machine as master in a cluster
I made a cluster using CSSH contains 10 machines in a network inclusive the machine that I use (currently opened machine) and the IP addresses are stored in /etc/clusters , after I opened them using:
...
0
votes
2
answers
352
views
High level overview of how SSH works and is setup on Ubuntu [closed]
I'm just starting out with SSH and I need somebody who's knowledgeable on SSH on Ubuntu/Linux to give me the whole picture of working with SSH.
I currently know that SSH is used to securely connect ...
7
votes
1
answer
6k
views
Execute prelogin scripts for SSH
I would like to know how I can execute a local server script, for instance send a mail using mailx, when a ssh session is opened, pre-login stage.
When a ssh connection comes into the server, I ...
0
votes
2
answers
339
views
Terminal Runs SSH Every Time
I have no idea how this happened. I was messing with SSH tunneling into my Raspberry Pi (with no problems) and since then, every time I open terminal on my Ubuntu machine, it tries to ssh into the RPi....
2
votes
0
answers
268
views
Ubuntu server 14.04 quotations marks display wrong
When ever the character ' is displayed in my terminal it displays as â.
I have never had this with the previous versions of Ubuntu.
For example:
rm: cannot remove â/etc/init.d/novncâ: No such file ...
3
votes
2
answers
3k
views
How to monitor website stats from the terminal?
is there any way to monitoring the stats from my own website .. like example.com .. just via our terminal without installing plugins .. so we can see real time visitor and bots came and go at website ....
2
votes
1
answer
1k
views
ssh permission denied in terminal but not inNautilus
I have two Ubuntu machines on the same network. I installed openssh-server and client. When I try to connect through the terminal I get the following message:
Permission denied, please try again
...
2
votes
2
answers
2k
views
SSH Key problem
I want to setup my home server to use ssh keys but when I follow the tutorial on https://help.ubuntu.com/10.04/serverguide/C/openssh-server.html
for setting up ssh keys I get this:
Bad port 'umask ...
13
votes
3
answers
18k
views
How to enter the Default Keyring password via the command line?
Is there a way to enter the default keyring password using the command line?
For instance:
You have a remote setup of Ubuntu 10.10 thats set to auto login. You don't want to remove
the keyring ...
3
votes
1
answer
427
views
Losing SSH connection when exiting from the main console login
I have installed openssh-server from Synaptics, as usual, on a brand new Ubuntu Desktop computer, 10.10, with all updates and patches implemented.
If I have the local console logged in, I can SSH to ...