Monday, February 17, 2014

WinSCP creates temporary file with .filepart extension even after successfully transmitted

All the files gets uploaded successfully comes with .filepart extension when using Winscp.

After spending sometime on this, it seems WinSCP transfers the data with temporary filename first and then renames the file after successful transfer to able to resume from partial file if the transfer is interrupted. And while using stfp its doesn't allow to change the file name as part of the same operation.







You can get over this problem by disabling the resume/transfer option in WinSCP

not creating .Xauthority file


$HOME/.Xauthority is created on first login for X11 applications to work.

This is problem was noticed on
Red Hat Enterprise Linux Server release 6.4 (Santiago)


Edit /etc/ssh/sshd_config as below

#AddressFamily any 
AddressFamily inet

Restart sshd
# service sshd restart
Stopping sshd:                                           [  OK  ]
Starting sshd:                                             [  OK  ]

Result:
login as: pkg
Using keyboard-interactive authentication.
Password:
Last login: Wed Feb 12 17:31:43 2014 from l4612554.federated.fds
Kickstarted on 2014-02-06
/usr/bin/xauth:  creating new authority file /home/pkg/.Xauthority


I don't have much details on this but it seems like
Disabling IPv6 requires restricting the sshd address family to IPv4 by specifying value "inet".