05-27-2009
How can I ftp to localhost from terminal ?
How can I ftp to localhost from terminal ?
I want to test my localhost user and password..
> ftp localhost
Trying ::1...
ftp: connect to address ::1: Connection refused
Trying fe80::1%lo0...
ftp: connect to address fe80::1%lo0: Unknown error: 0
Trying 127.0.0.1...
ftp: connect: Connection refused
ftp>
ftp>
ftp root@localhost
Trying ::1...
ftp: connect to address ::1: Connection refused
Trying fe80::1%lo0...
ftp: connect to address fe80::1%lo0: Unknown error: 0
Trying 127.0.0.1...
ftp: connect: Connection refused
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I just changed from windows NT to XP and I am no longer able
to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies
2. UNIX for Advanced & Expert Users
hello guys,
this morning when I start my pc (gentoo) I get some strange errors about localhost.
"Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" ... Apache
the same for my aplications, I have to use the full address of my pc instead of... (1 Reply)
Discussion started by: georgeplus
1 Replies
3. Shell Programming and Scripting
howdy expert,
I have a big file arround 4 gb to ftp from a sun solaris server.
I would like to have script which will start copy the file though i close my working terminal.
regards,
purple (4 Replies)
Discussion started by: thepurple
4 Replies
4. IP Networking
hi,
I was wondering why I can't connect through Terminal to my FTP server.
It perfectly works through client FTP (I've attached an image with settings)
http://dl.getdropbox.com/u/72686/cushy2.png
But I can't using the terminal
I tried many times the same password I use on FTP... (4 Replies)
Discussion started by: aneuryzma
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have these entries in the /etc/esolv.conf:
------------
domain xxxxxx
search yyyyyy
nameserver 127.0.0.1
nameserver aaaaaaaaaaaaaaaa
nameserver bbbbbbbbbbbbbbbb
-------------
When I use 'dig' or 'nslookup' command, like 'dig yahoo.com' it uses the localhost as the server.
I... (2 Replies)
Discussion started by: chaandana
2 Replies
6. Solaris
Hi All!
I having an issue when trying to run snmpwalk, so the following command it returns an error:
bash-3.00# /usr/sfw/bin/snmpwalk -v 2c -c public localhost sysDescr.0
Timeout: No Response from localhost
bash-3.00#
I have checked also:
bash-3.00# svcs -a | grep sma
online ... (2 Replies)
Discussion started by: fretagi
2 Replies
7. Debian
I am getting the message - waiting for localhost.
Here are some diagnostic steps I have tried ....
root@meow:/home/ethan# cat /var/www/cgi-bin/httpd.conf
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/jkj
ServerName 127.0.0.1:80
Listen xx.xx.xx.xx:80
Listen 127.0.0.1:80
... (1 Reply)
Discussion started by: Meow613
1 Replies
8. Shell Programming and Scripting
I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies
9. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
10. Shell Programming and Scripting
I get a "not found" error from this
localhost/choice.php
ethan@meow:~$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.025 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.036 m
and this
ethan@meow:~$ mysql -u... (4 Replies)
Discussion started by: Meow613
4 Replies
REDIR(1) General Commands Manual REDIR(1)
NAME
redir - redirect tcp connections
SYNOPSIS
redir [--laddr=incoming.ip.address] [--caddr=host] [--debug] [--syslog] [--name=str] [--timeout=n] [--bind_addr=my.other.ip.address] [--ftp=type]
[--transproxy] [--connect=host:port] --lport=port --cport=port [--bufsize=n] [--max_bandwidth=n] [--random_wait=n] [--wait_in_out=n]
redir --inetd [--caddr=host] [--debug] [--syslog] [--name=str] [--timeout=n] [--ftp=type] [--transproxy] [--connect=host:port] --cport=port
[--bufsize=n] [--max_bandwidth=n] [--random_wait=n] [--wait_in_out=n]
DESCRIPTION
Redir redirects tcp connections coming in to a local port to a specified address/port combination.
It may be run either from inetd or as a standalone daemon. Depending on how redir was compiled, not all options may be available.
OPTIONS
--lport
Specifies port to listen for connections on (when not running from inetd)
--laddr
IP address to bind to when listening for connections (when not running from inetd)
--cport
Specifies port to connect to.
--caddr
Specifies remote host to connect to. (localhost if omitted)
--inetd
Run as a process started from inetd, with the connection passed as stdin and stdout on startup.
--debug
Write debug output to stderr or syslog.
--name Specify program name to be used for TCP wrapper checks and syslog logging.
--timeout
Timeout and close the connection after n seconds of inactivity.
--syslog
Log information to syslog.
--bind_addr
Forces redir to pick a specific address/interface to bind to when it listens for incoming connections.
--ftp When using redir for an FTP server, this will cause redir to also redirect ftp connections. Type should be specified as
either "port", "pasv", or "both", to specify what type of FTP connection to handle. Note that --transproxy often makes one
or the other (generally port) undesirable.
--transproxy
On a linux system with transparent proxying enabled, causes redir to make connections appear as if they had come from their
true origin. (see /usr/share/doc/redir/transproxy.txt)
--connect
Redirects connections through an HTTP proxy which supports the CONNECT command. Specify the address and port of the proxy
using --caddr and --cport. --connect requires the hostname and port which the HTTP proxy will be asked to connect to.
--bufsize n
Set the bufsize (defaut 4096) in bytes. Can be used combined with --max_bandwidth or --random_wait to simulate a slow con-
nection.
--max_bandwidth n
Reduce the bandwidth to be no more than n bits/sec. The algorithme is basic, the goal is to simulate a slow connection, so
there is no pic acceptance.
--random_wait n
Wait between 0 and 2 x n milliseconds before each "packet". A "packet" is a bloc of data read in one time by redir. A
"packet" size is always less than the bufsize (see also --bufsize).
--wait_in_out n
Apply --max_bandwidth and --random_wait for input if n=1, output if n=2 and both if n=3.
SEE ALSO
inetd(1)
local REDIR(1)