how to set up ssh authentication for dedicated ip

I have ssh login for non-ssl. How do I set up ssh login authentication for dedicated ip and sftp on the same server. Apache2 ubuntu 9.10.

2 Replies

Can you explain what you want? ssh login for non-ssl doesn't make a whole lot of sense.

Which IP is dedicated, the client or the server (I assume you mean client if so just lock the ssh port down to that ip using iptables).

SFTP comes with SSH by default.

Use tcpwrappers like:

/etc/hosts.allow > here you would append wich address has access to specific app

/etc/hosts.deny > here you would append wich address has not access to specific app

Regards

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct