unknown user 305

Advertisement

bkell2
Joined:
Posts:
3

unknown user 305

I am trying to transfer a file from a jailed environment to my PC. I have include SCP1 in my path and have included a log file. Do you have any suggestions how to remove the 305 error?

Thanks!

. WinSCP Version 2.3.0 (Build 146)
. Login time: Tuesday, June 24, 2003 10:49:50 AM
. --------------------------------------------------------------------------
. Session name: test-roads
. Host name: xxx.xxx.xxx.xxx(Port: 23)
. User name: roadshow (Password: Yes, Key file: No)
. SSH protocol version: 2; Compression: Yes
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping interval: 0 sec (0 = off); Timeout: 15 sec
. SSH Bugs: A,A,A,A,A,A,A,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: No
. Shell: default, EOL: 0
. Local directory: default, Remote directory: home, Update: No, Cache: Yes
. Clear aliases: Yes, Unset nat.vars: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: Yes
. --------------------------------------------------------------------------
. Server version: SSH-1.99-3.1.0 F-SECURE SSH
. We claim version: SSH-2.0-PuTTY-Local: Apr 23 2003 11:38:40
. Using SSH protocol version 2
. Doing Diffie-Hellman key exchange
! Using username "roads".
. Sent password
. Access granted
. Opened channel for session
. Started a shell/command
. --------------------------------------------------------------------------
. Doing startup conversation with host.
. Skipping host startup message (if any).
> echo "WinSCP: this is end-of-file:0"
< Warning: no access to tty; thus no job control in this shell...
< WinSCP: this is end-of-file:0
. Detecting variable containing return code of last command.
. Trying "$status".
> echo "$status" ; echo "WinSCP: this is end-of-file:0"
< 0
< WinSCP: this is end-of-file:0
. Return code variable "$status" selected.
. Clearing all aliases.
< WinSCP: this is end-of-file:0
. Getting current directory name.
> pwd ; echo "WinSCP: this is end-of-file:$status"
< /home/roadshow
< WinSCP: this is end-of-file:0
. Listing current directory.
> ls -la ; echo "WinSCP: this is end-of-file:$status"
< total 123018
< drwxr-xr-x 3 305 300 512 Jun 24 14:50 .
< drwxr-xr-x 8 0 1 512 Jun 24 01:17 ..
< -rwxr-xr-x 1 305 300 110 Jun 24 14:31 .cshrc
< drwxr-x--- 2 305 300 512 Jun 24 13:12 .ssh2
< -rwxrwxrwx 1 305 300 5078980 Jun 24 11:45 atca_p~1.exe
< -rwxrwxrwx 1 305 300 8548720 Jun 24 11:45 atca_p~2.exe
< -rwxrwxrwx 1 305 300 11312050 Jun 24 11:45 atca_p~3.exe
< -rwxrwxrwx 1 305 300 12529788 Jun 24 11:45 atca_p~4.exe
< -rwxrwxrwx 1 305 300 2609467 Jun 24 11:45 atca_t~1.exe
< -rwxrwxrwx 1 305 300 4932116 Jun 24 11:45 atca_t~2.exe
< -rwxrwxrwx 1 305 300 7906723 Jun 24 11:45 atca_t~3.exe
< -rwxrwxrwx 1 305 300 9829439 Jun 24 11:45 atca_t~4.exe
< lrwxrwxrwx 1 305 300 6 Jun 24 14:50 scp -> ./scp1
< -rwxr-xr-x 1 305 300 123712 Jun 24 14:38 scp1
< WinSCP: this is end-of-file:0
. Listing file "./scp1".
> ls -lad "./scp1" ; echo "WinSCP: this is end-of-file:$status"
< -rwxr-xr-x 1 305 300 123712 Jun 24 14:38 ./scp1
< WinSCP: this is end-of-file:0
. Startup conversation with host finished.
. Copying 1 files/directories to local directory "C:\Temp\"
. PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: Yes
. FnCs: N; TM: M; AscM: *.*htm*; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex
> echo "WinSCP: this is begin-of-file" ; scp -r -p -1 -d -f "atca_t~3.exe" ; echo "WinSCP: this is end-of-file:$status"
< WinSCP: this is begin-of-file
. Sending NULL.
! unknown user 305

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
37,198
Location:
Prague, Czechia

Re: unknown user 305

It's a server error, I cannot tell what's the problem. It seems like the server cannot resolve user name from its UID (305). Who's the owner of the files?

Reply with quote

Advertisement

You can post new topics in this forum