Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3950783
  • 博文数量: 366
  • 博客积分: 9916
  • 博客等级: 中将
  • 技术积分: 7195
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-29 23:27
个人简介

简单!

文章分类

全部博文(366)

文章存档

2013年(51)

2012年(269)

2011年(46)

分类: LINUX

2012-03-10 22:41:11

Suppose you're on a relatively secure Linux box and receive the following message when trying to ssh out interactively (no keys) :

  • Permission denied (publickey,password,keyboard-interactive).

Here's one possible solution :

Check the /etc/ssh/ssh_config (client ssh) file and see if it contains this :

  • PasswordAuthentication no

If so, change it to the following :

  • PasswordAuthentication yes

Now try your interactive ssh session -- you shouldn't need to restart a service or anything else.

Of course, you need to be careful with what you're doing as you're increasing the risk profile of your machine a bit.

阅读(7608) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~