Chuyển đến nội dung chính

Bài đăng

Đang hiển thị bài đăng từ Tháng 5, 2011

Balsamiq key

Name: SoftVnn eJzzzU/OLi0odswsqgnOTysJy8ursUQCNc41hjV+7q5+AClADYE= Name: tuan.cse06 - SoftVnn eJzzzU/OLi0odswsqikpTczTSy5ONTBT0FUIzk8rCcvLq7FEAjXONYY1f u6ufgD21RF1

copy between local and remote host using "scp" command

scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh . Examples Copy the file "foobar.txt" from a remote host to the local host $ scp your_username@remotehost.edu:foobar.txt /some/local/directory Copy the file "foobar.txt" from the local host to a remote host $ scp foobar.txt your_username@remotehost.edu:/some/remote/directory Copy the directory "foo" from the local host to a remote host's directory "bar" $ scp -r foo your_username@remotehost.edu:/some/remote/directory/bar Copy the file "foobar.txt" from remote host "rh1.edu" to remote host "rh2.edu" $ scp your_username@rh1.edu:/some/remote/directory/foobar.txt \ your_username@rh2.edu:/some/remote/directory/ Copying the files "foo.txt" and "bar.txt" from the local host to your home directo

GetHostUUIDString: unable to determine UUID for host. Error: 35

[It worked for me] Hi. Well for those who been having problems with some apps, hanging/not working, i found that when some apps start (like itunes SRS iWow for example) hangs with no specific errors (in this case itunes hangs), but looking in the console i saw someting like “GetHostUUIDString: unable to determine UUID for host. Error: 35″ that some apps reports time to time and then they hang; so well the problem appears to be something about IEEE80211 wireless that some how osx looks for??… anyway, i found that adding a config for that into the NetworkInterfaces this problem get solved! You need to go to /Library/Preferences/SystemConfiguration and edit NetworkInterfaces.plist and add a new dict with the IEEE80211 config.. <dict> <key>BSD Name</key> <string>en3</string> <key>IOBuiltin</key> <false/> <key>IOInterfaceType</key> <integer>6</integer> <key>IOInterfaceUnit</key> <inte

How to remote ssh from A to B without password

SSH login without password Your aim You want to use Linux and OpenSSH to automize your tasks. Therefore you need an automatic login from host A / user a to Host B / user b. You don't want to enter any passwords, because you want to call ssh from a within a shell script. How to do it First log in on A as user a and generate a pair of authentication keys. Do not enter a passphrase: a@A:~> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/a/.ssh/id_rsa): Created directory '/home/a/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/a/.ssh/id_rsa. Your public key has been saved in /home/a/.ssh/id_rsa.pub. The key fingerprint is: 3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A Now use ssh to create a directory ~/.ssh as user b on B. (The directory may already exist, which is fine): a@A:~> ssh b@B mkdir -p .ssh b@B's password: Finall