The first thing to do in this situation is to use the -v
option to ssh
, so you can see what types of authentication is tried and what the result is. Does that help enlighten the situation?
In your update to your question, you mention “on another local Ubuntu”. Have you copied over the ssh private key to the other machine?
Related Posts:
- EC2 ssh Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
- mysql_config not found when installing mysqldb python interface
- ssh: Could not resolve hostname [hostname]: nodename nor servname provided, or not known
- Pseudo-terminal will not be allocated because stdin is not a terminal
- X11 forwarding request failed on channel 0
- mysql_config not found when installing mysqldb python interface
- Pseudo-terminal will not be allocated because stdin is not a terminal
- How to download a file from server using SSH?
- connect to host localhost port 22: Connection refused
- Getting stty: standard input: Inappropriate ioctl for device when using scp through an ssh tunnel
- How to configure WP filesystem access in Linux (Ubuntu Server)?
- Can I automatically add a new host to known_hosts?
- Can I nohup/screen an already-started process?
- Is it normal to get hundreds of break-in attempts per day?
- How to reconnect to a disconnected ssh session
- how to disable SSH login with password for some users?
- Keeping a linux process running after I logout
- How to check if an RSA public / private key pair match
- how do you create an ssh key for another user?
- “POSSIBLE BREAK-IN ATTEMPT!” in /var/log/secure — what does this mean?
- Does getting disconnected from an SSH session kill your programs?
- Can you have more than one ~/.ssh/config file?
- How to add a security group to a running EC2 Instance?
- What Linux distribution is the Amazon Linux AMI based on?
- SSH from A through B to C, using private key on B [closed]
- Show all users and their groups/vice versa
- Why don’t EC2 ubuntu images have swap?
- Why is TCP accept() performance so bad under Xen?
- SSHFS mount that survives disconnect
- Temporarily ignore my `~/.ssh/known_hosts` file?
- How can I fully log all bash scripts actions?
- What’s wrong with always being root?
- Hundreds of failed ssh logins
- protocol version mismatch — is your shell clean?
- Amazon Linux: apt-get: command not found
- How do I find all files containing specific text on Linux?
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- Where can I find php.ini?
- gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
- Linux: ‘Username’ is not in the sudoers file. This incident will be reported
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- How can I exclude directories from grep -R?
- How to exclude a directory in find . command
- Explaining the ‘find -mtime’ command
- Creating a new directory in C
- mv: cannot stat error : No such file or directory error
- Linux error while loading shared libraries: cannot open shared object file: No such file or directory
- linux command to get size of files and directories present in a particular folder?
- screen Cannot open your terminal ‘/dev/pts/0’ – please check
- ./configure : /bin/sh^M : bad interpreter
- TCP congestion control version: HTCP module vs highspeed module in linux kernel
- How to use regex with find command?
- What is the difference between /etc/rc.local and ~/.bashrc?
- Snort Message – WARNING: No preprocessors configured for policy 0
- How to make rpm auto install dependencies
- How do I install chkconfig on Ubuntu?
- “find: paths must precede expression:” How do I specify a recursive search that also finds files in the current directory?
- Apache server keeps crashing, “caught SIGTERM, shutting down”
- List all mounts in Linux
- How to use sed to extract substring
- Wait for user input in C?
- Restarting cron after changing crontab file?
- tar: Error is not recoverable: exiting now
- cd into directory without having permission
- python-dev installation error: ImportError: No module named apt_pkg
- How to enable Bash in Windows 10 developer preview?
- WordPress sites being filled with random PHP files
- how to properly mount external server directory for wordpress uploads
- WordPress cloning issue
- Is it a good idea to edit WordPress within Eclipse? [closed]
- How can I sort du -h output by size
- What exactly do the colors in htop status bars mean?
- How to run a server on port 80 as a normal user on Linux?
- Showing total progress in rsync: is it possible?
- How to bind MySQL server to more than one IP address?
- Moving an already-running process to Screen
- What’s the best way of handling permissions for Apache 2’s user www-data in /var/www?
- How to run a command multiple times, using bash shell?
- LVM dangers and caveats
- Should I quit using Ifconfig?
- How to know from which yum repository a package has been installed?
- SSL Certificate Location on UNIX/Linux
- What is “-bash: !”: event not found”
- tar – Remove leading directory components on extraction
- Force dig to resolve without using cache
- How to list Apache enabled modules?
- How to forcibly close a socket in TIME_WAIT?
- Colors in bash after piping through less?
- How can I monitor hard disk load on Linux?
- Why does sudo command take long to execute?
- How to display certain lines from a text file in Linux?
- What’s the reverse DNS command line utility?
- How bad is it really to install Linux on one big partition?
- How do I extract login history?
- Is it possible to reboot a Linux OS without rebooting the hardware?
- Does the “bs” option in “dd” really improve the speed?
- What solutions exist to allow the use of revision control for server configuration files? [closed]
- Is there a way to do a remote “ls” much like “scp” does a remote copy?
- Dump a linux process’s memory to file
- What is the difference between /sbin/nologin and /bin/false?