A
Arihan Sinha
Hi All,
I want to delete some files from Mac system where I am in the windows
sytem.
System1 ( win7) logged in with userid :- arihan.sinha
system2( Mac system 172.20.10.65 name:- developers-iMac.local) loggedin
with userid :- developer
I am using putty to connect system1 to system2 where priviate key is in
my window system1 and public key in mac system2.
puts %x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "pwd"]
%x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "cd Library"]
puts %x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "pwd"]
%x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "cd
Library/Caches/Google/Chrome/Default/Cache"]
puts %x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "pwd"]
all cases its giving output as
/Users/developer
/Users/developer
/Users/developer
Can anyone please guide me If I am doing any mistakes.
Cheers
A
I want to delete some files from Mac system where I am in the windows
sytem.
System1 ( win7) logged in with userid :- arihan.sinha
system2( Mac system 172.20.10.65 name:- developers-iMac.local) loggedin
with userid :- developer
I am using putty to connect system1 to system2 where priviate key is in
my window system1 and public key in mac system2.
puts %x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "pwd"]
%x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "cd Library"]
puts %x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "pwd"]
%x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "cd
Library/Caches/Google/Chrome/Default/Cache"]
puts %x[c:\\Program Files (x86)\\PuTTY\\plink -i
"C:\\Users\\arihan.sinha\\.ssh\\authorized_key.ppk"
(e-mail address removed) "pwd"]
all cases its giving output as
/Users/developer
/Users/developer
/Users/developer
Can anyone please guide me If I am doing any mistakes.
Cheers
A