HostwareSupport-Linux Hosting technical support for cPanel, Plesk, Directadmin servers

Linux Hosting technical support for cPanel, Plesk, Directadmin and No control panel servers offers and listing
http://hostwaresupport.com/

Jun 15, 2011

RPC: Program not registered

* when i used commander in rhel6 # howmount -e i got above error.. this error shows that "NFS Portmap: RPC: Program not registered"

So i went to hosts.allow on the FC4 and entered my address

# vim /etc/hosts.allow
i.e.
portmap : xxx.xxx.xxx.xxx/255.255.255.0 : allow
portmap : ALL

wq!

After That restart the services

#/etc/init.d/nfs restart
#/etc/init.d/portreserv restart



Jun 13, 2011

SFTP Error : No supported authentication methods available

While accessing FTP with SFTP you might face following error

No supported authentication methods available.

Try to work with normal FTP and it might work fine but SFTP will not.

For this just check the file /var/log/secure on the server. You can find error message as

June 11 8:13:55 server sshd[88121]: Received disconnect from XX.XX.XX.XX: 14: No supported authentication methods available

The problem is faced due to PasswordAuthentication setting in /etc/ssh/sshd_config.

If the setting PasswordAuthentication is disabled in the SSH configuration file SFTP will not function. For this you can set PasswordAuthentication to on.

PasswordAuthentication on

Once you edit the file save and restart the sshd service using the command

root@server [~]# /etc/init.d/sshd restart

Now try to login the SFTP. It should sort your issue.