Use ssh from Windows command prompt [closed]

New, resurrected project site (Win7 compability and more!): http://sshwindows.sourceforge.net 1st January 2012 OpenSSH for Windows 5.6p1-2 based release created!! Happy New Year all! Since COpSSH has started charging I’ve resurrected this project Updated all binaries to current releases Added several new supporting DLLs as required by all executables in package Renamed switch.exe to bash.exe to … Read more

How do I create a directory on remote host if it doesn’t exist without ssh-ing in?

You can use rsync. For example, rsync -ave ssh fileToCopy ssh.myhost.net:/some/nonExisting/dirToCopyTO Note about rsync: rsync is utility software and network protocol for Unix which synchronizes files and directories from one location to another. It minimizes data transfer sizes by using delta encoding when appropriate using the rsync algorithm which is faster than other tools.

scp gives “not a regular file”

I just tested this and found at least 3 situations in which scp will return not a regular file: File is actually a directory File is a named pipe (a.k.a. FIFO) File is a device file Case #1 seems most likely. If you meant to transfer an entire directory structure with scp use the -r … Read more

scp files from local to remote machine error: no such file or directory

Looks like you are trying to copy to a local machine with that command. An example scp looks more like the command below: Copy the file “foobar.txt” from the local host to a remote host $ scp foobar.txt your_username@remotehost.edu:/some/remote/directory scp “the_file” your_username@the_remote_host:the/path/to/the/directory to send a directory: Copy the directory “foo” from the local host to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)