Sftp cannot see folder in destination server


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Sftp cannot see folder in destination server
# 1  
Old 09-04-2019
Sftp cannot see folder in destination server

I'm using sftp to connect from a Windows server (User ID is ssh1) to AIX server (User ID ftpeapsg) to access /sftp/ftphrssg/HRSSG/EAPSG in AIX server. User ftpeapsg is created on AIX server.
Able to connect to AIX server fine without the need for password however not able to see the folder /sftp/ftphrssg/HRSSG/EAPSG

For /sftp/ftphrssg/HRSSG/EAPSG, owner is ftphrssg and group is geapsgtp
ftp user is ftpeapsg and group is geapsgtp

Both /sftp/ftphrssg/HRSSG/EAPSG and ftpeapsg belong to group geapsgtp.
Any idea why I'm not able to see /sftp/ftphrssg/HRSSG/EAPSG in the AIX server?
# 2  
Old 09-05-2019
Please list (cut-and-paste here with code tags) the directory permissions like this (for example), using the appropriate switches for AIX:

Code:
ls -ld /sftp/ftphrssg/HRSSG/EAPSG

# 3  
Old 09-05-2019
This doesn't say if you can actually open the connection as the correct user. Does that work even? If not, please show us the command(s) you use and the output/errors so we can assist with that part first.
# 4  
Old 09-05-2019
Attached is the permission of the ftp user ftpeapsg and folder /sftp/ftphrssg/HRSSG/EAPSG
# 5  
Old 09-11-2019
Hello userguy

I don't see an attachment. Can you paste it in CODE tags perhaps?




Thanks, in advance,
Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Command / Script to create touch file in destination server

Hello Team, Is there any Linux command / script available so that, I could create a simple 0 byte file in destination server by issuing the command from source server. If yes, Could you please let me know the possible solutions. in other words I just want to create a touch file in my home... (1 Reply)
Discussion started by: madhuraju
1 Replies

2. Shell Programming and Scripting

scp without password for destination server

I am using the below command to scp the file to destination server ($server). The ssh keys have been created between the source and destination servers. Still I am getting password authentication after executing the below scp command: scp $Local_dir/$file_pattern* $username@$server:/$ftp_dir/... (1 Reply)
Discussion started by: Ganesh L
1 Replies

3. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies

4. Solaris

Ftp: SSL_connect error while connecting from source to destination server Solaris 10

Hi Everyone, I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

5. Solaris

How do files transferred via ftp or sftp gets thier permissions at destination?

We have umask defined under /etc/.login as 022. I have my user specific umask defined in /userhome/.login as 002. I understand ftp will not execute anything at destination, it simply transfers files. But it seem to be using 022 as umask for the files transferred. How does ftp knows what umask... (4 Replies)
Discussion started by: kchinnam
4 Replies

6. UNIX for Dummies Questions & Answers

destination directory for make install isc-dhcp-server

Hi there, I'm trying to install isc-dhcp-server from source. When I install it from package (eg. using aptitude), files created are : /usr/sbin/dhcpd /etc/dhcp/dhcpd.conf /usr/share/man/* But when I install from source (,.configure && make && make install), then files created are :... (0 Replies)
Discussion started by: chebarbudo
0 Replies

7. UNIX for Dummies Questions & Answers

copy files grabbing destination folder from file name

Hi all... Below is what I am trying to do: 1. Having the following folder with the files... /source_folder/dodiddone.tar.gz /source_folder/gowentgone.tar.gz /source_folder/gowentgone.log 2. I need to copy and chown files with extension .tar.gz to another folder copy... (1 Reply)
Discussion started by: pedroz
1 Replies

8. UNIX Desktop Questions & Answers

ssh command doesnot excute commands in the destination server

Hi All, I have the below code where Iam connecting from xzur111pap server to xzur0211pap server thru ssh to execute some commands. ssh xzur0211pap spaceleft=`df -k /home |tail -1 | awk '{print $5}'` spaceleft=${spaceleft%\%} if ]; then echo "ALERT : HUFS(/home $spaceleft)" exit 0... (3 Replies)
Discussion started by: gaddamja
3 Replies

9. Shell Programming and Scripting

Copy a file by creating folder structure in destination as in Souce

Hello, i am having a source directory which consist of multiple sub directories and my destination folder is a empty directory. if try to copy a file source->test->1.txt from source to destination test2 using the commaind. cp source/test/1.txt desti/ It will copy the 1.txt under desti... (1 Reply)
Discussion started by: tsaravanan
1 Replies

10. HP-UX

FTP user information on destination server

Could any one please tell me how to check the ftp users information on the destination server ( Hp-UX ) ? Source server used to do FTP to my server ( that is destination server ) . Now , he is getting error that login is incorrect and unable to login into destination server . Please tell me how to... (3 Replies)
Discussion started by: randhir
3 Replies
Login or Register to Ask a Question