Sponsored Content
Full Discussion: scp conections refused
Top Forums UNIX for Dummies Questions & Answers scp conections refused Post 302804035 by williamen on Wednesday 8th of May 2013 02:23:25 AM
Old 05-08-2013
Quote:
Originally Posted by Scott
I'm not quite sure why you're hiding part of a private IP address, but... Smilie

User amin does not have access to root's "home" directory, so why are you trying to copy the file there?

scp the file as the root user, or put the file somewhere amin has permission to write to.

Also, there's nothing specifically AIX-related here, so I have moved this thread from the AIX forum.
because maybe config ssh deny root login?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No more telnet conections

Help. my trouble... telnetd: All network ports in use. /etc/inetd.conf telnet stream tcp nowait NOLUID /etc/telnetd telnetd only 32 telnet permit SCO UNIX 3.2.5.0.5 :confused: (2 Replies)
Discussion started by: RoMaGo
2 Replies

2. SCO

telnet connection refused

I installed Openserver 5.0.7 and I cannot telnet to the localhost and I can't telnet from my old SCO 3.2.42 to the new SCO machine but I can ping the new machine and it will telnet to the old machine. (2 Replies)
Discussion started by: printrick
2 Replies

3. SCO

Blocking ports and reseting conections

Hi folks! We have SCO Open System V 5.0.5 here. When I type "netstat -n" I found a line mentioning a conection at the port 1025, as follows: tcp 0 0 quartzo.1025 200-203-8-90.csl.aas ESTABLISHED Here we use only conections thru ports 22,23 and 25. I would like to... (0 Replies)
Discussion started by: Marcio Moraes
0 Replies

4. IP Networking

Connection refused

Hi there, Anything will help. I have running server on computer and want to connect from some clients. Server: memset(&hints, 0, sizeof(hints)); hints.ai_family = domain; hints.ai_socktype = SOCK_STREAM; error = getaddrinfo("localhost", "8300", &hints, &res0); if (error) { ... (1 Reply)
Discussion started by: Dudu1984
1 Replies

5. Programming

echo: Connection refused

OS : Solaris sparc In c program After socket created when I do Connect() it results "Connection refused", but the system is online and I am able to do telnet, ping everything, but it says connection refused. What would need to correct ? (6 Replies)
Discussion started by: satish@123
6 Replies

6. AIX

ping OK - telnet refused

Hi, After a crash of our older AIX server it happend as it is in the title: ping is ok, but telnet: What it can be this strange thing? Franci (2 Replies)
Discussion started by: frajer
2 Replies

7. UNIX and Linux Applications

PSQLException: Connection refused

I dont' what happened with my servers (test servers only) but I just noticed that suddenly I cannot up the domain anymore (Sun Java System Application Server 9.1_01). a. server.log org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the... (1 Reply)
Discussion started by: lhareigh890
1 Replies

8. UNIX for Advanced & Expert Users

ftp connection refused

Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic. root@AB101# ftp -n 10.192.168.68 ftp: connect: A remote host refused an attempted connect operation. ftp> Thanks. (3 Replies)
Discussion started by: yanis
3 Replies

9. Debian

ftp connection refused

I have two computers running Debian 6.0 and one running Solaris 2.6 on a private network. The Debian computers can ftp to the Solaris computer but if a Debian computer is the destination the ftp connection is refused. I assume this is some security feature of Debian. What can I do to allow... (2 Replies)
Discussion started by: snorkack59
2 Replies

10. Shell Programming and Scripting

FTP connection refused

Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP . But i get error as "ftp: connect: Connection refused Not connected. Not connected." Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies
FTPUSERS(5)						      BSD File Formats Manual						       FTPUSERS(5)

NAME
ftpusers, ftpchroot -- tnftpd(8) access control file DESCRIPTION
The ftpusers file provides user access control for tnftpd(8) by defining which users may login. If the ftpusers file does not exist, all users are denied access. A ``'' is the escape character; it can be used to escape the meaning of the comment character, or if it is the last character on a line, extends a configuration directive across multiple lines. A ``#'' is the comment character, and all characters from it to the end of line are ignored (unless it is escaped with the escape character). The syntax of each line is: userglob[:groupglob][@host] [directive [class]] These elements are: userglob matched against the user name, using fnmatch(3) glob matching (e.g, 'f*'). groupglob matched against all the groups that the user is a member of, using fnmatch(3) glob matching (e.g, '*src'). host either a CIDR address (refer to inet_net_pton(3)) to match against the remote address (e.g, '1.2.3.4/24'), or an fnmatch(3) glob to match against the remote hostname (e.g, '*.NetBSD.org'). directive If ``allow'' or ``yes'' the user is allowed access. If ``deny'' or ``no'', or directive is not given, the user is denied access. class defines the class to use in ftpd.conf(5). If class is not given, it defaults to one of the following: chroot If there is a match in /private/etc/ftpchroot for the user. guest If the user name is ``anonymous'' or 'ftp'. real If neither of the above is true. No further comparisons are attempted after the first successful match. If no match is found, the user is granted access. This syntax is backward-compatible with the old syntax. If a user requests a guest login, the tnftpd(8) server checks to see that both ``anonymous'' and ``ftp'' have access, so if you deny all users by default, you will need to add both ``anonymous allow'' and ``ftp allow'' to /private/etc/ftpusers in order to allow guest logins. /private/etc/ftpchroot The file /private/etc/ftpchroot is used to determine which users will have their session's root directory changed (using chroot(2)), either to the directory specified in the ftpd.conf(5) chroot directive (if set), or to the home directory of the user. If the file does not exist, the root directory change is not performed. The syntax is similar to ftpusers, except that the class argument is ignored. If there's a positive match, the session's root directory is changed. No further comparisons are attempted after the first successful match. This syntax is backward-compatible with the old syntax. FILES
/private/etc/ftpchroot List of normal users who should have their ftp session's root directory changed by using chroot(2). /private/etc/ftpusers This file. /usr/share/ftpd/examples/ftpusers A sample ftpusers file. SEE ALSO
fnmatch(3), inet_net_pton(3), ftpd.conf(5), tnftpd(8) BSD
February 28, 2003 BSD
All times are GMT -4. The time now is 08:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy