funkypenguin / pfrancid

Automatically exported from code.google.com/p/pfrancid
0 stars 1 forks source link

Upgraded pfSense from 2.1 to 2.2 and the login prompt has changed. #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upgraded from pfsense 2.1 to 2.2 and backups started failing

What is the expected output? What do you see instead?

Pflogin is looking for "Password:" however it looks like the ssh password 
prompt has changed. I edited the pfloging accordingly to fix the issue:

$ diff pflogin pflogin-orig
403c403
<           "\[Pp]assword for $user@$router:"                   {

---
>           "\[Pp]assword:"                     {

What version of the product are you using? On what operating system?

Pfsense 2.2
Rancid 2.3.8-6 

Please provide any additional information below.

Attached is my pflogin in case anyone wants a drop-in fix without having to 
edit files. 

Original issue reported on code.google.com by chris.we...@gmail.com on 26 Jan 2015 at 4:21

Attachments:

GoogleCodeExporter commented 9 years ago
This branch of rancid-git handles password prompts for 1.2, 2.1 and 2.2  (2.0 
is untested):  https://github.com/jnorell/rancid-git/tree/pfrancid

Original comment by jesse.no...@gmail.com on 4 Mar 2015 at 10:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Didn't work for me 

expect version 5.45
Ubuntu 12.04.4 LTS

But changed it to the following, and that works for me on both pfsense 2.1 and 
pfsense 2.2 

$ diff pflogin pflogin-orig
403c403
<           -re "\[Pp]assword.*:"                   {
---
>           "\[Pp]assword:"     {

Original comment by powerla...@gmail.com on 27 Mar 2015 at 8:37