|
extracting 1 file from RPM
I want to use rpm2cpio, I accidentally deleted my ssh_config file from my /etc/ssh folder. I need it back and this was supposed to be the best way, thanks in advance, here's a screen shot.
[root@host log]# cat rpmpkgs | grep openssh
openssh-3.6.1p2-18.i386.rpm
openssh-clients-3.6.1p2-18.i386.rpm
openssh-server-3.6.1p2-18.i386.rpm
[root@host log]# rpm2cpio openssh-3.6.1p2-18.i386.rpm >ba
rpm2cpio: openssh-3.6.1p2-18.i386.rpm: No such file or directory
[root@host log]# cd /tmp
[root@host tmp]# rpm2cpio openssh-3.6.1p2-18.i386.rpm > cpio
rpm2cpio: openssh-3.6.1p2-18.i386.rpm: No such file or directory
[root@host tmp]#
|