Remote Linux Command

I have to work on Linux Server remotely these days. So I would like to take this as a note of commands on manipulating remote files. ssh command shell to login remote machine without entering password set user abc123 set host 192.168.0.2 set password [your password] set timeout -1 spawn ssh $user@$host expect "*assword:*" send "$password\r" interact expect eof scp command your user name is abc123 and you want to copy file this.