For me this error appeared immediatey after I changed the user’s home directory by
sudo usermod -d var/www/html username
It can also happen because of lack of proper permission to authorized_key file in ~/.ssh. Make sure the permission of this file is 0600 and permission of ~/.ssh is 700.
Related Posts:
- AWS Lambda:The provided execution role does not have permissions to call DescribeNetworkInterfaces on EC2
- Putty: Getting Server refused our key Error
- What is difference between Lightsail and EC2?
- What is the difference between Amazon SNS and Amazon SQS?
- Using putty to scp from windows to Linux
- AWS: What does 0.0.0.0/0 and ::/0 mean?
- What is the difference between Elastic Beanstalk and CloudFormation for a .NET project?
- How can I resolve the error “The security token included in the request is invalid” when running aws iam upload-server-certificate?
- DynamoDB – Key element does not match the schema
- How to improve paralelized computing in AWS EC2?
- Forward X11 failed: Network error: Connection refused
- PuTTY PSCP error “Local to local copy not supported” when username contains a slash
- AWS CLI S3 A client error (403) occurred when calling the HeadObject operation: Forbidden
- Convert PEM to PPK file format
- 403 ERROR The request could not be satisfied
- Automating command/script execution using PuTTY
- How can I get the size of an Amazon S3 bucket?
- How to recover from “Too many Authentication Failures for user root”
- AWS RDS connection limits
- ssh : Permission denied (publickey,gssapi-with-mic)
- ssh connect Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
- Git: How to solve Permission denied (publickey) error when using Git?
- Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent
- ssh remote host identification has changed
- How to establish ssh key pair when “Host key verification failed”
- Copying a local file from Windows to a remote server using scp
- ssh: The authenticity of host ‘hostname’ can’t be established
- Perform commands over ssh with Python
- How to set ssh timeout?
- ssh “permissions are too open” error
- ssh: The authenticity of host ‘hostname’ can’t be established
- DynamoDB : The provided key element does not match the schema
- mysql_config not found when installing mysqldb python interface
- SSH -X “Warning: untrusted X11 forwarding setup failed: xauth key data not generated”
- 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
- boto3 client NoRegionError: You must specify a region error only sometimes
- Permission denied (publickey,keyboard-interactive)
- How to deal with “Pseudo-terminal will not be allocated because stdin is not a terminal.”
- What is actually in known_hosts?
- SSH library for Java
- mysql_config not found when installing mysqldb python interface
- mysql_config not found when installing mysqldb python interface
- Pseudo-terminal will not be allocated because stdin is not a terminal
- ‘heroku’ does not appear to be a git repository
- How to download a file from server using SSH?
- How to solve “sign_and_send_pubkey: signing failed: agent refused operation”?
- How can I use wildcards to `cp` a group of files with the AWS CLI
- How to fix request failed on channel 0
- AWS lambda function error – Unable to import module ‘index’: Error
- What is the difference between Amazon ECS and Amazon EC2?
- Access denied; you need (at least one of) the SUPER privilege(s) for this operation
- Difference between Amazon EC2 and AWS Elastic Beanstalk
- Access denied; you need (at least one of) the SUPER privilege(s) for this operation
- How to scp in Python?
- connect to host localhost port 22: Connection refused
- Transfer files to/from session I’m logged in with PuTTY
- channel 3: open failed: connect failed: Connection refused
- Getting “socket.error: [Errno 61] Connection refused” python paramiko
- putty – server unexpectedly closed network connection on windows
- How to specify the private SSH-key to use when executing shell command on Git?
- “invalid ELF header” when using the nodejs “ref” module on AWS Lambda
- Starting ssh-agent on Windows 10 fails: “unable to start ssh-agent service, error :1058”
- Git error: “Host Key Verification Failed” when connecting to remote repository
- X Error of failed request: BadValue (integer parameter out of range for operation)
- Laravel 5 Class ‘Collective\Html\HtmlServiceProvider’ not found on AWS
- Getting stty: standard input: Inappropriate ioctl for device when using scp through an ssh tunnel
- Copying files using rsync from remote server to local machine
- Copying files from server to local computer using SSH
- Error “You must specify a region” when running any aws CLI command
- Could not create work tree dir ‘example.com’.: Permission denied
- Google app engine or amazon web services
- S3 Bucket action doesn’t apply to any resources
- How to read iPhone files without jailbreaking?
- SSH to Vagrant box in Windows?
- “There was a problem with the requested skill’s response” on Alexa Simulator
- Specify an SSH key for git push for a given domain
- How to ssh from within a bash script?
- Putty vs WinSCP
- How to use Sublime over SSH
- Difference between AWS DynamoDB vs. AWS DocumentDB(Newly launched service)? [closed]
- AWS – Create a record set for an s3 static website
- key_load_public: invalid format
- Differences between SFTP and “FTP over SSH”
- Use qdel to delete all my jobs at once, not one at a time
- Nginx error: client intended to send too large body
- Is there an Amazon.com API to retrieve product reviews?
- SQS vs RabbitMQ
- Paramiko’s SSHClient with SFTP
- EC2 ssh Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
- AWS s3 api error: specified bucket does not exist
- Your WSGIPath refers to a file that does not exist
- Saving the PuTTY session logging
- Amazon Workspaces VM prevented from logging in to WordPress on DreamHost
- Why does WordPress need my private ssh key to update?
- How can I use WP-CLI commands without –allow-root
- How to configure WP filesystem access in Linux (Ubuntu Server)?
- Public and Private Keys are Incorrect for user