I recently installed ssh server openssh-server in my fedora 16. I added my friend user account to my sshuser list.
I have a new Ubuntu install where I am not able to connect to localhost or 127.0.0.1 or using my computer name.
telnet localhost [tried all/no port numbers]
returns
telnet: Unable to connect to remote host: Connection refused
Is there any configuration I need to do to make this work? Would it be disabled by default??
Hi,
I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBB
I thought that
iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBB
however it doesn't work, e.g.
nc -v -w2 -z localhost AAAA
gives:
Thanks you for your time.
I have just set up a Postfix mail server which is running as MTA in one of my aws instances.
I am using SSH to forward a port on a remote machine (Client) to another machine (Server) using (~/.ssh/config)
Host Client:
Hostname {ip}
...
RemoteForward localhost:{port} localhost:{port}
The problem is that even when there is not one listening on the Server, the client can connect successfully to localhost:port.
Host os - archlinux, guest - minix3(virtualbox).
I'm working on a local dev setup that requires the use of telnet (playing with setting up a MUD server) so please no feedback suggesting I use SSH as a more secure alternative.
However, though I've got the telnet daemon up, I am getting this output when I telnet localhost.
$ telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
Hi guys,I am trying to connect to pureftp server but unable to do it.
I'm testing on localhost.I have started httpd and pure-ftpd server.
PHP Code:
<?php
$ftp_server="localhost";
ftp_connect($ftp_server) or die("connection failed");
?>
When I execute the above code I get "connection failed".But when I type ftp://localhost/ in the browser
I have three machines with the same configuration.
ssh and SFTP enabled on all three and I can see all three from the network. I can also ping all three.
Here is what I get with the ssh debug command on the problematic machine:
linux-csp7:/home/ines # ssh -vvv ines@192.168.2.19
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009